{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bookmyhost/json-schema/bookmyhost-agent-response-schema.json",
  "title": "AgentResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bookmyhost-beta-a2a-agents-api-openapi.yml#/components/schemas/AgentResponse",
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "agent_name": {
      "type": "string",
      "title": "Agent Name"
    },
    "litellm_params": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Litellm Params"
    },
    "agent_card_params": {
      "additionalProperties": true,
      "type": "object",
      "title": "Agent Card Params"
    },
    "object_permission": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Object Permission"
    },
    "spend": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Spend"
    },
    "tpm_limit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tpm Limit"
    },
    "rpm_limit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Rpm Limit"
    },
    "session_tpm_limit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Session Tpm Limit"
    },
    "session_rpm_limit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Session Rpm Limit"
    },
    "static_headers": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Static Headers"
    },
    "extra_headers": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Extra Headers"
    },
    "keys": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/AgentKeySummary"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Keys"
    },
    "created_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created At"
    },
    "updated_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Updated At"
    },
    "created_by": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created By"
    },
    "updated_by": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Updated By"
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "agent_name",
    "agent_card_params"
  ],
  "$defs": {
    "AgentKeySummary": {
      "properties": {
        "token": {
          "type": "string",
          "title": "Token"
        },
        "key_alias": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Key Alias"
        },
        "key_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Key Name"
        }
      },
      "type": "object",
      "required": [
        "token"
      ],
      "title": "AgentKeySummary"
    }
  }
}