> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Rate Limits

> Get rate limit information.

Get rate limit information.

### Response

`object`

<ResponseField name="rate_limits" type="object" required>
  <Expandable title="rate_limits">
    <ResponseField name="default" type="object">
      <Expandable title="default">
        <ResponseField name="requests_per_minute" type="integer" />

        <ResponseField name="description" type="string" />
      </Expandable>
    </ResponseField>

    <ResponseField name="unauthenticated" type="object">
      <Expandable title="unauthenticated">
        <ResponseField name="requests_per_minute" type="integer" />

        <ResponseField name="description" type="string" />
      </Expandable>
    </ResponseField>

    <ResponseField name="training" type="object">
      <Expandable title="training">
        <ResponseField name="concurrent_jobs" type="integer" />

        <ResponseField name="description" type="string" />
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="headers" type="object" required>
  The `X-RateLimit-*` headers and what each means
</ResponseField>

### Status codes

| Code  | Meaning                 |
| ----- | ----------------------- |
| `200` | Successful response     |
| `401` | Authentication required |
| `422` | Validation error        |
| `429` | Rate limit exceeded     |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'http://localhost:8000/api/docs/rate-limits' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "rate_limits": {
      "default": {
        "requests_per_minute": 1,
        "description": "Two-person tent, green — replacement for damaged pole set."
      },
      "unauthenticated": {
        "requests_per_minute": 1,
        "description": "Two-person tent, green — replacement for damaged pole set."
      },
      "training": {
        "concurrent_jobs": 1,
        "description": "Two-person tent, green — replacement for damaged pole set."
      }
    },
    "headers": {}
  }
  ```
</ResponseExample>
