{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/giljo-ai/json-schema/giljo-ai-apikey-create-response-schema.json",
  "title": "APIKeyCreateResponse",
  "description": "Response after creating API key (includes plaintext key ONCE)",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/giljo-ai-auth-api-openapi.yml#/components/schemas/APIKeyCreateResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "api_key": {
      "type": "string",
      "title": "Api Key"
    },
    "key_prefix": {
      "type": "string",
      "title": "Key Prefix"
    },
    "message": {
      "type": "string",
      "title": "Message"
    },
    "expires_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expires At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "name",
    "api_key",
    "key_prefix",
    "message",
    "expires_at"
  ]
}