{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/h2o-ai/main/json-schema/h2o-ai-create-custom-agent-key-association-request-schema.json",
  "title": "CreateCustomAgentKeyAssociationRequest",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/h2o-ai-agents-api-openapi.yml#/components/schemas/CreateCustomAgentKeyAssociationRequest",
  "required": [
    "agent_id",
    "env_key_name",
    "key_id"
  ],
  "type": "object",
  "properties": {
    "agent_id": {
      "type": "string",
      "format": "uuid",
      "description": "Custom agent UUID"
    },
    "env_key_name": {
      "type": "string",
      "description": "Env var name (from envs.json or user-added)"
    },
    "key_id": {
      "type": "string",
      "format": "uuid",
      "description": "Agent key UUID to associate"
    }
  }
}