> For the complete documentation index, see [llms.txt](https://docs.guardianservice.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guardianservice.app/technical-information/users/standard-registry-users-schemas-and-policies/schemas/schema-creation-using-apis/listing-of-schema.md).

# Listing of Schema

### SCHEMA LISTING

## Returns all schemas

<mark style="color:blue;">`GET`</mark> `/schemas`

Returns all schemas

#### Query Parameters

| Name      | Type    | Description                                                           |
| --------- | ------- | --------------------------------------------------------------------- |
| pageIndex | Integer | The number of pages to skip before starting to collect the result set |
| pageSize  | Integer | The numbers of items to return                                        |

{% tabs %}
{% tab title="401: Unauthorized Unauthorized" %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="403: Forbidden Forbidden" %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="500: Internal Server Error Internal Server Error" %}

```javascript
{
    content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
}
```

{% endtab %}

{% tab title="200: OK Successful Operation" %}

```
{
    headers:
            x-total-count:
              schema:
                type: integer
              description: Total items in the collection.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Schema'
}
```

{% endtab %}
{% endtabs %}
