{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/postproxy-dev/json-schema/postproxy-dev-api-key-schema.json",
  "title": "ApiKey",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postproxy-dev-api-keys-api-openapi.yml#/components/schemas/ApiKey",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "API key ID, used in the revoke URL."
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Label given to the key."
    },
    "profile_group_id": {
      "type": "string",
      "description": "The profile group the key is scoped to."
    },
    "sandbox": {
      "type": "boolean",
      "description": "true for sandbox keys."
    },
    "token": {
      "type": "string",
      "description": "The secret bearer token. Returned only in the create response."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}