{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/outpost-ai/json-schema/outpost-ai-token-request-schema.json",
  "title": "TokenRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/outpost-ai-oauth-api-openapi.yml#/components/schemas/TokenRequest",
  "type": "object",
  "required": [
    "grant_type",
    "client_id",
    "client_secret"
  ],
  "properties": {
    "grant_type": {
      "type": "string",
      "const": "client_credentials"
    },
    "client_id": {
      "type": "string",
      "description": "Issued by Outpost during onboarding."
    },
    "client_secret": {
      "type": "string",
      "description": "Issued by Outpost during onboarding. Server-side only."
    },
    "scope": {
      "type": "string",
      "description": "Space-separated scopes."
    }
  }
}