---
title: "Codex Rate Limits"
method: GET
path: "/api/integrations/codex/credentials/{credential_id}/rate-limits"
tags: ["v1", "integrations"]
---

# Codex Rate Limits

`GET /api/integrations/codex/credentials/{credential_id}/rate-limits`

## Path parameters

- `credential_id` string, required

## Response `200`

Successful Response

- CodexRateLimitsSnapshot
  - `plan_type` string, nullable
  - `limit_id` string, nullable
  - `limit_name` string, nullable
  - `rate_limit_reached_type` string, nullable
  - `primary` CodexRateLimitWindow
    - `used_percent` integer, required
    - `window_duration_mins` integer, nullable
    - `resets_at` integer, nullable
  - `secondary` CodexRateLimitWindow
    - `used_percent` integer, required
    - `window_duration_mins` integer, nullable
    - `resets_at` integer, nullable
  - `has_credits` boolean, nullable
  - `unlimited_credits` boolean, nullable
  - `bucket_ids` string[]

## Other responses

- `401` — Authentication required
- `422` — Validation Error

## Changes

- **2026-08-12** `316dc5984754` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/changes/api/integrations/codex/credentials/:credential_id/rate-limits/get.md)

---

[API](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/significant-gravitas/autogpt-agent-server/revisions/5dc375899754/schema)
