Anthropic · Schema
BetaManagedAgentsSessionThread
An execution thread within a `session`. Each session has one primary thread plus zero or more child threads spawned by the coordinator.
LLMAnthropicArtificial IntelligenceClaudeFoundation ModelsMachine LearningMCPAgents
Properties
| Name | Type | Description |
|---|---|---|
| type | string | |
| id | string | Unique identifier for this thread. |
| session_id | string | The session this thread belongs to. |
| status | object | Current execution status of the thread. |
| agent | object | Resolved agent definition for this thread. Snapshot of the agent at thread creation time. |
| parent_thread_id | object | Parent thread that spawned this thread. Null for the primary thread. |
| created_at | object | When the thread was created. |
| updated_at | object | When the thread was last updated. |
| archived_at | object | When the thread was archived. Null if not archived. |
| usage | object | Cumulative token usage for this thread. Null until the thread's first idle transition. |
| stats | object | Timing statistics for this thread. Null until the thread's first status transition. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/anthropic/main/json-schema/anthropic-beta-managed-agents-session-thread-schema.json",
"title": "BetaManagedAgentsSessionThread",
"description": "An execution thread within a `session`. Each session has one primary thread plus zero or more child threads spawned by the coordinator.",
"x-generated": "2026-09-23",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/anthropic-sessions-api-openapi.yml#/components/schemas/BetaManagedAgentsSessionThread",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"id",
"session_id",
"status",
"agent",
"parent_thread_id",
"created_at",
"updated_at",
"archived_at",
"usage",
"stats"
],
"properties": {
"type": {
"type": "string",
"enum": [
"session_thread"
]
},
"id": {
"description": "Unique identifier for this thread.",
"type": "string"
},
"session_id": {
"description": "The session this thread belongs to.",
"type": "string"
},
"status": {
"description": "Current execution status of the thread.",
"allOf": [
{
"$ref": "#/$defs/BetaManagedAgentsSessionThreadStatus"
}
]
},
"agent": {
"description": "Resolved agent definition for this thread. Snapshot of the agent at thread creation time.",
"allOf": [
{
"$ref": "#/$defs/BetaManagedAgentsSessionThreadAgentEntry"
}
]
},
"parent_thread_id": {
"description": "Parent thread that spawned this thread. Null for the primary thread.",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"description": "When the thread was created.",
"allOf": [
{
"$ref": "#/$defs/BetaTimestamp"
}
]
},
"updated_at": {
"description": "When the thread was last updated.",
"allOf": [
{
"$ref": "#/$defs/BetaTimestamp"
}
]
},
"archived_at": {
"description": "When the thread was archived. Null if not archived.",
"anyOf": [
{
"$ref": "#/$defs/BetaTimestamp"
},
{
"type": "null"
}
]
},
"usage": {
"description": "Cumulative token usage for this thread. Null until the thread's first idle transition.",
"anyOf": [
{
"$ref": "#/$defs/BetaManagedAgentsSessionThreadUsage"
},
{
"type": "null"
}
]
},
"stats": {
"description": "Timing statistics for this thread. Null until the thread's first status transition.",
"anyOf": [
{
"$ref": "#/$defs/BetaManagedAgentsSessionThreadStats"
},
{
"type": "null"
}
]
}
},
"$defs": {
"BetaCurrency": {
"type": "string",
"enum": [
"USD"
]
},
"BetaManagedAgentsAdvisor": {
"description": "Platform advisor roster entry: a model the session's primary thread may consult mid-turn.",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"model"
],
"properties": {
"type": {
"type": "string",
"enum": [
"advisor"
]
},
"model": {
"description": "The advisor model id.",
"type": "string"
}
}
},
"BetaManagedAgentsAgentTool": {
"description": "Union type for tool configurations returned in API responses.",
"type": "object",
"oneOf": [
{
"$ref": "#/$defs/BetaManagedAgentsAgentToolset20260401"
},
{
"$ref": "#/$defs/BetaManagedAgentsMCPToolset"
},
{
"$ref": "#/$defs/BetaManagedAgentsCustomTool"
}
]
},
"BetaManagedAgentsAgentToolConfigUnion": {
"description": "Configuration for a specific agent tool.",
"type": "object",
"oneOf": [
{
"$ref": "#/$defs/BetaManagedAgentsBashToolConfig"
},
{
"$ref": "#/$defs/BetaManagedAgentsEditToolConfig"
},
{
"$ref": "#/$defs/BetaManagedAgentsReadToolConfig"
},
{
"$ref": "#/$defs/BetaManagedAgentsWriteToolConfig"
},
{
"$ref": "#/$defs/BetaManagedAgentsGlobToolConfig"
},
{
"$ref": "#/$defs/BetaManagedAgentsGrepToolConfig"
},
{
"$ref": "#/$defs/BetaManagedAgentsWebFetchToolConfig"
},
{
"$ref": "#/$defs/BetaManagedAgentsWebSearchToolConfig"
}
]
},
"BetaManagedAgentsAgentToolset20260401": {
"type": "object",
"additionalProperties": false,
"required": [
"type",
"default_config",
"configs"
],
"properties": {
"type": {
"type": "string",
"enum": [
"agent_toolset_20260401"
]
},
"default_config": {
"$ref": "#/$defs/BetaManagedAgentsAgentToolsetDefaultConfig"
},
"configs": {
"type": "array",
"items": {
"$ref": "#/$defs/BetaManagedAgentsAgentToolConfigUnion"
}
}
}
},
"BetaManagedAgentsAgentToolsetDefaultConfig": {
"description": "Resolved default configuration for agent tools.",
"type": "object",
"additionalProperties": false,
"required": [
"enabled",
"permission_policy"
],
"properties": {
"enabled": {
"type": "boolean"
},
"permission_policy": {
"$ref": "#/$defs/BetaManagedAgentsPermissionPolicy"
}
}
},
"BetaManagedAgentsAlwaysAllowPolicy": {
"description": "Tool calls are automatically approved without user confirmation.",
"type": "object",
"additionalProperties": false,
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"always_allow"
]
}
}
},
"BetaManagedAgentsAlwaysAskPolicy": {
"description": "Tool calls require user confirmation before execution.",
"type": "object",
"additionalProperties": false,
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"always_ask"
]
}
}
},
"BetaManagedAgentsAnthropicSkill": {
"description": "A resolved Anthropic-managed skill.",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"skill_id",
"version"
],
"properties": {
"type": {
"type": "string",
"enum": [
"anthropic"
]
},
"skill_id": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"BetaManagedAgentsBashToolConfig": {
"description": "Configuration for the bash tool.",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"name",
"enabled",
"permission_policy"
],
"properties": {
"type": {
"type": "string",
"const": "bash"
},
"name": {
"type": "string",
"const": "bash"
},
"enabled": {
"type": "boolean"
},
"permission_policy": {
"$ref": "#/$defs/BetaManagedAgentsPermissionPolicy"
}
}
},
"BetaManagedAgentsCacheCreationUsage": {
"description": "Prompt-cache creation token usage broken down by cache lifetime.",
"type": "object",
"additionalProperties": false,
"properties": {
"ephemeral_1h_input_tokens": {
"description": "Tokens used to create 1-hour ephemeral cache entries.",
"type": "integer",
"format": "int32"
},
"ephemeral_5m_input_tokens": {
"description": "Tokens used to create 5-minute ephemeral cache entries.",
"type": "integer",
"format": "int32"
}
}
},
"BetaManagedAgentsCustomSkill": {
"description": "A resolved user-created custom skill.",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"skill_id",
"version"
],
"properties": {
"type": {
"type": "string",
"enum": [
"custom"
]
},
"skill_id": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"BetaManagedAgentsCustomTool": {
"description": "A custom tool as returned in API responses.",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"name",
"description",
"input_schema"
],
"properties": {
"type": {
"type": "string",
"enum": [
"custom"
]
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"input_schema": {
"$ref": "#/$defs/BetaManagedAgentsCustomToolInputSchema"
}
}
},
"BetaManagedAgentsCustomToolInputSchema": {
"additionalProperties": true,
"description": "JSON Schema for custom tool input parameters.",
"properties": {
"properties": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Properties",
"x-stainless-skip": [
"terraform"
]
},
"required": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Required"
},
"type": {
"const": "object",
"title": "Type",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"BetaManagedAgentsEditToolConfig": {
"description": "Configuration for the edit tool.",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"name",
"enabled",
"permission_policy"
],
"properties": {
"type": {
"type": "string",
"const": "edit"
},
"name": {
"type": "string",
"const": "edit"
},
"enabled": {
"type": "boolean"
},
"permission_policy": {
"$ref": "#/$defs/BetaManagedAgentsPermissionPolicy"
}
}
},
"BetaManagedAgentsEffort": {
"description": "How hard Claude works on each turn. Sets `output_config.effort` on every Messages call the session makes.",
"type": "object",
"oneOf": [
{
"$ref": "#/$defs/BetaManagedAgentsEffortLow"
},
{
"$ref": "#/$defs/BetaManagedAgentsEffortMedium"
},
{
"$ref": "#/$defs/BetaManagedAgentsEffortHigh"
},
{
"$ref": "#/$defs/BetaManagedAgentsEffortXhigh"
},
{
"$ref": "#/$defs/BetaManagedAgentsEffortMax"
}
]
},
"BetaManagedAgentsEffortHigh": {
"description": "High effort. Favors reasoning depth.",
"type": "object",
"additionalProperties": false,
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"high"
]
}
}
},
"BetaManagedAgentsEffortLow": {
"description": "Low effort. Favors latency over reasoning depth.",
"type": "object",
"additionalProperties": false,
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"low"
]
}
}
},
"BetaManagedAgentsEffortMax": {
"description": "Maximum effort. Favors reasoning depth over latency.",
"type": "object",
"additionalProperties": false,
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"max"
]
}
}
},
"BetaManagedAgentsEffortMedium": {
"description": "Medium effort. Balances latency and reasoning depth.",
"type": "object",
"additionalProperties": false,
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"medium"
]
}
}
},
"BetaManagedAgentsEffortXhigh": {
"description": "Extra-high effort. Not all models accept this level.",
"type": "object",
"additionalProperties": false,
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"xhigh"
]
}
}
},
"BetaManagedAgentsGlobToolConfig": {
"description": "Configuration for the glob tool.",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"name",
"enabled",
"permission_policy"
],
"properties": {
"type": {
"type": "string",
"const": "glob"
},
"name": {
"type": "string",
"const": "glob"
},
"enabled": {
"type": "boolean"
},
"permission_policy": {
"$ref": "#/$defs/BetaManagedAgentsPermissionPolicy"
}
}
},
"BetaManagedAgentsGrepToolConfig": {
"description": "Configuration for the grep tool.",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"name",
"enabled",
"permission_policy"
],
"properties": {
"type": {
"type": "string",
"const": "grep"
},
"name": {
"type": "string",
"const": "grep"
},
"enabled": {
"type": "boolean"
},
"permission_policy": {
"$ref": "#/$defs/BetaManagedAgentsPermissionPolicy"
}
}
},
"BetaManagedAgentsMCPServer": {
"description": "Union type for MCP server connection definitions returned in API responses.",
"type": "object",
"oneOf": [
{
"$ref": "#/$defs/BetaManagedAgentsMCPServerURLDefinition"
}
]
},
"BetaManagedAgentsMCPServerURLDefinition": {
"description": "URL-based MCP server connection as returned in API responses.",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"name",
"url"
],
"properties": {
"type": {
"type": "string",
"enum": [
"url"
]
},
"name": {
"type": "string"
},
"url": {
"type": "string"
}
}
},
"BetaManagedAgentsMCPToolConfig": {
"description": "Resolved configuration for a specific MCP tool.",
"type": "object",
"additionalProperties": false,
"required": [
"name",
"enabled",
"permission_policy"
],
"properties": {
"name": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"permission_policy": {
"$ref": "#/$defs/BetaManagedAgentsPermissionPolicy"
}
}
},
"BetaManagedAgentsMCPToolset": {
"type": "object",
"additionalProperties": false,
"required": [
"type",
"mcp_server_name",
"default_config",
"configs"
],
"properties": {
"type": {
"type": "string",
"enum": [
"mcp_toolset"
]
},
"mcp_server_name": {
"type": "string"
},
"default_config": {
"$ref": "#/$defs/BetaManagedAgentsMCPToolsetDefaultConfig"
},
"configs": {
"type": "array",
"items": {
"$ref": "#/$defs/BetaManagedAgentsMCPToolConfig"
}
}
}
},
"BetaManagedAgentsMCPToolsetDefaultConfig": {
"description": "Resolved default configuration for all tools from an MCP server.",
"type": "object",
"additionalProperties": false,
"required": [
"enabled",
"permission_policy"
],
"properties": {
"enabled": {
"type": "boolean"
},
"permission_policy": {
"$ref": "#/$defs/BetaManagedAgentsPermissionPolicy"
}
}
},
"BetaManagedAgentsModel": {
"title": "BetaManagedAgentsModel",
"description": "The model that will power your agent.\n\nSee [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.",
"anyOf": [
{
"type": "string"
},
{
"const": "claude-sonnet-5",
"description": "High-performance model for coding and agents",
"x-stainless-nominal": false
},
{
"const": "claude-fable-5",
"description": "Next generation of intelligence for the hardest knowledge work and coding problems",
"x-stainless-nominal": false
},
{
"const": "claude-opus-5",
"description": "Powerful intelligence for long-running agents and coding",
"x-stainless-nominal": false
},
{
"const": "claude-opus-4-8",
"description": "Powerful intelligence for long-running agents and coding",
"x-stainless-nominal": false
},
{
"const": "claude-opus-4-7",
"description": "Powerful intelligence for long-running agents and coding",
"x-stainless-nominal": false
},
{
"const": "claude-opus-4-6",
"description": "Powerful intelligence for long-running agents and coding",
"x-stainless-nominal": false
},
{
"const": "claude-sonnet-4-6",
"description": "Best combination of speed and intelligence",
"x-stainless-nominal": false
},
{
"const": "claude-haiku-4-5",
"description": "Fastest model with near-frontier intelligence",
"x-stainless-nominal": false
},
{
"const": "claude-haiku-4-5-20251001",
"description": "Fastest model with near-frontier intelligence",
"x-stainless-nominal": false
},
{
"const": "claude-opus-4-5",
"description": "Powerful intelligence for long-running agents and coding",
"x-stainless-nominal": false
},
{
"const": "claude-opus-4-5-20251101",
"description": "Powerful intelligence for long-running agents and coding",
"x-stainless-nominal": false
},
{
"const": "claude-sonnet-4-5",
"description": "High-performance model for agents and coding",
"x-stainless-nominal": false
},
{
"const": "claude-sonnet-4-5-20250929",
"description": "High-performance model for agents and coding",
"x-stainless-nominal": false
}
]
},
"BetaManagedAgentsModelConfig": {
"description": "Model identifier and configuration.",
"type": "object",
"additionalProperties": false,
"required": [
"id"
],
"properties": {
"id": {
"$ref": "#/$defs/BetaManagedAgentsModel"
},
"speed": {
"description": "Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Defaults to `standard`. Not all models support `fast`; invalid combinations are rejected at create time.",
"allOf": [
{
"$ref": "#/$defs/BetaManagedAgentsSpeed"
}
],
"x-anthropic-beta-required": [
"managed-agents-2026-04-01",
"fast-mode-2026-02-01"
]
},
"effort": {
"description": "How hard Claude works on each inference call. One of `low`, `medium`, `high`, `xhigh`, `max`. Always present; resolved to the per-model default at save time when not supplied.",
"allOf": [
{
"$ref": "#/$defs/BetaManagedAgentsEffort"
}
],
"x-anthropic-beta-required": [
"managed-agents-2026-04-01"
]
},
"inference_geo": {
"description": "Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.",
"type": "string",
"x-anthropic-beta-required": [
"managed-agents-2026-04-01"
]
}
}
},
"BetaManagedAgentsPermissionPolicy": {
"description": "Permission policy for tool execution.",
"type": "object",
"oneOf": [
{
"$ref": "#/$defs/BetaManagedAgentsAlwaysAllowPolicy"
},
{
"$ref": "#/$defs/BetaManagedAgentsAlwaysAskPolicy"
}
]
},
"BetaManagedAgentsReadToolConfig": {
"description": "Configuration for the read tool.",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"name",
"enabled",
"permission_policy"
],
"properties": {
"type": {
"type": "string",
"const": "read"
},
"name": {
"type": "string",
"const": "read"
},
"enabled": {
"type": "boolean"
},
"permission_policy": {
"$ref": "#/$defs/BetaManagedAgentsPermissionPolicy"
}
}
},
"BetaManagedAgentsServerToolUsage": {
"description": "Cumulative count of server-executed tool invocations, broken down by tool.",
"type": "object",
"additionalProperties": false,
"properties": {
"web_search_requests": {
"description": "Number of server-executed web search requests.",
"type": "integer",
"format": "int32"
},
"web_fetch_requests": {
"description": "Number of server-executed web fetch requests.",
"type": "integer",
"format": "int32"
}
}
},
"BetaManagedAgentsSessionThreadAgent": {
"description": "Resolved `agent` definition for a single `session_thread`. Snapshot of the agent at thread creation time. The multiagent roster is not repeated here; read it from `Session.agent`.",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"id",
"version",
"name",
"description",
"model",
"system",
"tools",
"mcp_servers",
"skills"
],
"properties": {
"type": {
"type": "string",
"enum": [
"agent"
]
},
"id": {
"type": "string"
},
"version": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"model": {
"$ref": "#/$defs/BetaManagedAgentsModelConfig"
},
"system": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tools": {
"type": "array",
"items": {
"$ref": "#/$defs/BetaManagedAgentsAgentTool"
}
},
"mcp_servers": {
"type": "array",
"items": {
"$ref": "#/$defs/BetaManagedAgentsMCPServer"
}
},
"skills": {
"type": "array",
"items": {
"$ref": "#/$defs/BetaManagedAgentsSkill"
}
}
}
},
"BetaManagedAgentsSessionThreadAgentEntry": {
"description": "The resolved agent a session thread runs: a saved-agent snapshot, the platform advisor entry, or an inline-defined (ephemeral) agent snapshot.",
"oneOf": [
{
"$ref": "#/$defs/BetaManagedAgentsSessionThreadAgent"
},
{
"$ref": "#/$defs/BetaManagedAgentsAdvisor"
}
]
},
"BetaManagedAgentsSessionThreadStats": {
"description": "Timing statistics for a session thread.",
"type": "object",
"additionalProperties": false,
"properties": {
"duration_seconds": {
"description": "Elapsed time since thread creation in seconds. For archived threads, frozen at the final update.",
"type": "number",
"format": "double"
},
"startup_seconds": {
"description": "Time in seconds for the thread to begin running. Zero for child threads, which start immediately.",
"type": "number",
"format": "double"
},
"active_seconds": {
"description": "Cumulative time in seconds the thread spent actively running. Excludes idle time.",
"type": "number",
"format": "double"
}
}
},
"BetaManagedAgentsSessionThreadStatus": {
"type": "string",
"description": "SessionThreadStatus enum",
"enum": [
"running",
"idle",
"rescheduling",
"terminated"
]
},
"BetaManagedAgentsSessionThreadUsage": {
"description": "Cumulative token usage for a session thread across all turns.",
"type": "object",
"additionalProperties": false,
"properties": {
"input_tokens": {
"description": "Total input tokens consumed across all turns.",
"type": "integer",
"format": "int32"
},
"output_tokens": {
"description": "Total output tokens generated across all turns.",
"type": "integer",
"format": "int32"
},
"cache_read_input_tokens": {
"description": "Total tokens read from prompt cache.",
"type": "integer",
"format": "int32"
},
"cache_creation": {
"description": "Tokens used to create prompt cache entries, broken down by cache TTL.",
"allOf": [
{
"$ref": "#/$defs/BetaManagedAgentsCacheCreationUsage"
}
]
},
"list_cost": {
"description": "Cumulative list cost of this thread across all turns, priced at public list rates. Absent until cost tracking is available for the thread. Each figure is rounded to the nearest cent independently and the session's aggregate `usage.list_cost` additionally includes session runtime, so per-thread costs do not sum exactly to the session figure; the session figure is authoritative and is what a budget is enforced against.",
"anyOf": [
{
"$ref": "#/$defs/BetaMonetaryAmount"
},
{
"type": "null"
}
],
"x-anthropic-beta-required": [
"managed-agents-2026-04-01"
]
},
"active_seconds": {
"description": "Cumulative time in seconds this thread spent in running status. Equal to `stats.active_seconds`; surfaced here so a thread's usage carries every quantity its cost is priced on.",
"type": "number",
"format": "double",
"x-anthropic-beta-required": [
"managed-agents-2026-04-01"
]
},
"server_tool_use": {
"description": "Cumulative server-executed tool usage across all turns of this thread. Absent until server-tool tracking is available for the thread.",
"anyOf": [
{
"$ref": "#/$defs/BetaManagedAgentsServerToolUsage"
},
{
"type": "null"
}
],
"x-anthropic-beta-required": [
"managed-agents-2026-04-01"
]
}
}
},
"BetaManagedAgentsSkill": {
"description": "Resolved skill as returned in API responses.",
"oneOf": [
{
"$ref": "#/$defs/BetaManagedAgentsAnthropicSkill"
},
{
"$ref": "#/$defs/BetaManagedAgentsCustomSkill"
}
]
},
"BetaManagedAgentsSpeed": {
"type": "string",
"description": "Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time.",
"enum": [
"standard",
"fast"
]
},
"BetaManagedAgentsUserLocation": {
"description": "Approximate user location for search result localization.",
"type": "object",
"additionalProperties": false,
"required": [
"type"
],
"properties": {
"type": {
"description": "Location precision. Only \"approximate\" is supported.",
"type": "string",
"const": "approximate"
},
"city": {
"description": "City name.",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 255
},
{
"type": "null"
}
]
},
"region": {
"description": "Region or state name.",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 255
},
{
"type": "null"
}
]
},
"country": {
"description": "Two-letter ISO 3166-1 country code, uppercase.",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timezone": {
"description": "IANA timezone identifier, e.g. \"America/Los_Angeles\".",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 255
},
{
"type": "null"
}
]
}
}
},
"BetaManagedAgentsWebFetchToolConfig": {
"description": "Configuration for the web_fetch tool.",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"name",
"enabled",
"permission_policy"
],
"properties": {
"type": {
"type": "string",
"const": "web_fetch"
},
"name": {
"type": "string",
"const": "web_fetch"
},
"enabled": {
"type": "boolean"
},
"permission_policy": {
"$ref": "#/$defs/BetaManagedAgentsPermissionPolicy"
},
"allowed_domains": {
"type": "array",
"items": {
"type": "string"
}
},
"blocked_domains": {
"type": "array",
"items": {
"type": "string"
}
},
"max_content_tokens": {
"anyOf": [
{
"type": "integer",
"format": "int32"
},
{
"type": "null"
}
]
}
}
},
"BetaManagedAgentsWebSearchToolConfig": {
"description": "Configuration for the web_search tool.",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"name",
"enabled",
"permission_policy"
],
# --- truncated at 32 KB (34 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/anthropic/refs/heads/main/json-schema/anthropic-beta-managed-agents-session-thread-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/anthropic-beta-managed-agents-session-thread"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.