{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/algenta-ai/json-schema/algenta-ai-byok-request-schema.json",
  "title": "ByokRequest",
  "description": "Mirrors the website's payload shape (``provider``/``key``), distinct from the SDK's\n``backend``/``api_key``. The website only sends ``anthropic`` today; other supported backends\nare accepted for forward-compatibility and validated downstream by the key store.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/algenta-ai-byok-api-openapi.yml#/components/schemas/ByokRequest",
  "properties": {
    "provider": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1,
      "title": "Provider",
      "default": "anthropic"
    },
    "key": {
      "type": "string",
      "minLength": 1,
      "title": "Key"
    }
  },
  "type": "object",
  "required": [
    "key"
  ]
}