Skip to main content
POST
Auth Token
Exchange your API key for a short-lived JWT token. Use this token in the Authorization header for /evaluate.

Request

string
required
Your API key, provided during Account Setup. Format: eval-api-key-<unique-hash>
string
required
Must be application/json

Response

string
required
JWT token to include in the Authorization: Bearer header on subsequent requests
string
required
Always "bearer"
integer
required
Token lifetime in seconds. Current environments return 3600 (1 hour). Always use this value rather than hard-coding a duration.

Example Request

Example Response

Error Responses

401 — Missing API Key

401 — Invalid API Key

Notes

  • Read expires_in from the response (currently 3600 seconds / 1 hour). Request a new token before expiry.
  • Tokens cannot be refreshed or extended.
  • Store tokens securely. Never expose API keys in client-side code.