Skip to main content
GET
/
api-keys
{
  "api_keys": [
    {
      "api_key_id": "<string>",
      "name": "<string>",
      "status": "<string>",
      "permissions": [
        {}
      ],
      "usage_stats": {
        "requests_this_month": 123,
        "evaluations_this_month": 123,
        "last_used": {}
      },
      "created_at": {},
      "expires_at": {}
    }
  ]
}

Overview

Retrieves a list of API keys for your organization with usage statistics and status information.

Query Parameters

status
string
Filter by key status (active, suspended, expired)
limit
integer
default:"25"
Maximum number of keys to return

Response

api_keys
array
required
List of API keys

Examples

curl -X GET https://api.judge.example.com/api-keys \
  -H "Authorization: Bearer YOUR_API_KEY"