Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
229 changes: 227 additions & 2 deletions litellm/proxy/_lazy_openapi_snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -2378,6 +2378,19 @@
"title": "Agent Name",
"type": "string"
},
"enabled": {
"title": "Enabled",
"type": "boolean"
},
"execution_mode": {
"enum": [
"autonomous",
"delegated",
"both"
],
"title": "Execution Mode",
"type": "string"
},
"extra_headers": {
"anyOf": [
{
Expand All @@ -2392,6 +2405,16 @@
],
"title": "Extra Headers"
},
"identity": {
"anyOf": [
{
"$ref": "#/components/schemas/EntraIdentityConfig"
},
{
"type": "null"
}
]
},
"kill_switch": {
"anyOf": [
{
Expand Down Expand Up @@ -2470,8 +2493,7 @@
}
},
"required": [
"agent_name",
"agent_card_params"
"agent_name"
],
"title": "AgentConfig",
"type": "object"
Expand Down Expand Up @@ -3537,6 +3559,61 @@
"title": "DailySpendMetadata",
"type": "object"
},
"EntraIdentityConfig": {
"additionalProperties": false,
"properties": {
"client_id": {
"title": "Client Id",
"type": "string"
},
"provider": {
"const": "microsoft_entra",
"title": "Provider",
"type": "string"
},
"required_roles": {
"default": [],
"items": {
"type": "string"
},
"title": "Required Roles",
"type": "array"
},
"required_scopes": {
"default": [
"user_impersonation"
],
"description": "Required delegated scopes. An empty list accepts any nonempty scope granted for this gateway.",
"items": {
"type": "string"
},
"title": "Required Scopes",
"type": "array"
},
"service_principal_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Service Principal Id"
},
"tenant_id": {
"title": "Tenant Id",
"type": "string"
}
},
"required": [
"provider",
"tenant_id",
"client_id"
],
"title": "EntraIdentityConfig",
"type": "object"
},
"HTTPAuthSecurityScheme": {
"description": "Defines a security scheme using HTTP authentication.",
"properties": {
Expand Down Expand Up @@ -3686,6 +3763,54 @@
"title": "MakeAgentsPublicRequest",
"type": "object"
},
"ManagedAgentIdentityStatus": {
"properties": {
"enabled": {
"default": true,
"title": "Enabled",
"type": "boolean"
},
"execution_mode": {
"default": "autonomous",
"enum": [
"autonomous",
"delegated",
"both"
],
"title": "Execution Mode",
"type": "string"
},
"identity": {
"anyOf": [
{
"$ref": "#/components/schemas/AgentIdentityBinding"
},
{
"type": "null"
}
]
},
"identity_managed": {
"default": false,
"title": "Identity Managed",
"type": "boolean"
},
"last_authenticated_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Last Authenticated At"
}
},
"title": "ManagedAgentIdentityStatus",
"type": "object"
},
"MetricWithMetadata": {
"properties": {
"api_key_breakdown": {
Expand Down Expand Up @@ -3886,6 +4011,19 @@
"title": "Agent Name",
"type": "string"
},
"enabled": {
"title": "Enabled",
"type": "boolean"
},
"execution_mode": {
"enum": [
"autonomous",
"delegated",
"both"
],
"title": "Execution Mode",
"type": "string"
},
"extra_headers": {
"anyOf": [
{
Expand All @@ -3900,6 +4038,16 @@
],
"title": "Extra Headers"
},
"identity": {
"anyOf": [
{
"$ref": "#/components/schemas/EntraIdentityConfig"
},
{
"type": "null"
}
]
},
"kill_switch": {
"anyOf": [
{
Expand Down Expand Up @@ -4421,6 +4569,36 @@
]
}
},
"/v1/agents/identity/providers": {
"get": {
"operationId": "get_agent_identity_providers_v1_agents_identity_providers_get",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"items": {
"type": "string"
},
"title": "Response Get Agent Identity Providers V1 Agents Identity Providers Get",
"type": "array"
}
}
},
"description": "Successful Response"
}
},
"security": [
{
"APIKeyHeader": []
}
],
"summary": "Get Agent Identity Providers",
"tags": [
"agents"
]
}
},
"/v1/agents/make_public": {
"post": {
"description": "Make multiple agents publicly discoverable\n\nExample Request:\n```bash\ncurl -X POST \"http://localhost:4000/v1/agents/make_public\" \\\n -H \"Authorization: Bearer <your_api_key>\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"agent_ids\": [\"123e4567-e89b-12d3-a456-426614174000\", \"123e4567-e89b-12d3-a456-426614174001\"]\n }'\n```\n\nExample Response:\n```json\n{\n \"agent_id\": \"123e4567-e89b-12d3-a456-426614174000\",\n \"agent_name\": \"my-custom-agent\",\n \"litellm_params\": {\n \"make_public\": true\n },\n \"agent_card_params\": {...},\n \"created_at\": \"2025-11-15T10:30:00Z\",\n \"updated_at\": \"2025-11-15T10:35:00Z\",\n \"created_by\": \"user123\",\n \"updated_by\": \"user123\"\n}\n```",
Expand Down Expand Up @@ -4672,6 +4850,53 @@
]
}
},
"/v1/agents/{agent_id}/identity": {
"get": {
"operationId": "get_agent_identity_status_v1_agents__agent_id__identity_get",
"parameters": [
{
"in": "path",
"name": "agent_id",
"required": true,
"schema": {
"title": "Agent Id",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ManagedAgentIdentityStatus"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"security": [
{
"APIKeyHeader": []
}
],
"summary": "Get Agent Identity Status",
"tags": [
"agents"
]
}
},
"/v1/agents/{agent_id}/kill_switch": {
"post": {
"description": "Fire the agent's configured kill switch webhook. Proxy admin only.\n\nLiteLLM only makes the configured HTTP call and reports what came back; it\ndoes not change the agent's state in LiteLLM. Returns 200 when the webhook\nanswered 2xx, 502 with the same result body otherwise. Every attempt is\nwritten to the audit log as a `kill_switch_fired` row against the agent.\n\nExample Request:\n```bash\ncurl -X POST \"http://localhost:4000/v1/agents/123e4567-e89b-12d3-a456-426614174000/kill_switch\" \\\n -H \"Authorization: Bearer <your_api_key>\"\n```",
Expand Down
Loading
Loading