{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/anthropic/main/json-schema/anthropic-beta-managed-agents-deployment-schema.json", "title": "BetaManagedAgentsDeployment", "description": "A deployment is a configured instance of an agent — it binds the agent to everything needed to run it autonomously: an environment, credentials, initial events, and an optional schedule.", "x-generated": "2026-09-23", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/anthropic-deployments-api-openapi.yml#/components/schemas/BetaManagedAgentsDeployment", "type": "object", "additionalProperties": false, "required": [ "type", "id", "name", "description", "agent", "environment_id", "vault_ids", "initial_events", "resources", "metadata", "schedule", "status", "paused_reason", "created_at", "updated_at", "archived_at" ], "properties": { "type": { "type": "string", "enum": [ "deployment" ] }, "id": { "description": "Unique identifier for this deployment.", "type": "string" }, "name": { "description": "Human-readable name.", "type": "string" }, "description": { "description": "Description of what the deployment does.", "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "agent": { "description": "Reference to the agent this deployment runs, resolved to a concrete version.", "allOf": [ { "$ref": "#/$defs/BetaManagedAgentsAgentReference" } ] }, "environment_id": { "description": "ID of the `environment` where sessions run.", "type": "string" }, "vault_ids": { "description": "Vault IDs supplying stored credentials for sessions created from this deployment.", "type": "array", "items": { "type": "string" } }, "initial_events": { "description": "Events sent to each session immediately after creation.", "type": "array", "items": { "$ref": "#/$defs/BetaManagedAgentsDeploymentInitialEvent" } }, "resources": { "description": "Resources attached to sessions created from this deployment. Echoes the input minus write-only credentials.", "type": "array", "items": { "$ref": "#/$defs/BetaManagedAgentsSessionResourceConfig" } }, "metadata": { "description": "Arbitrary key-value metadata. Maximum 16 pairs.", "type": "object", "additionalProperties": { "type": "string" } }, "schedule": { "description": "Recurring cron schedule. Presence enables scheduled execution; null means manual-only. Includes computed timestamps (next fire times, last run) on the cron variant.", "anyOf": [ { "$ref": "#/$defs/BetaManagedAgentsSchedule" }, { "type": "null" } ] }, "status": { "description": "Computed status of the deployment: `active` or `paused`. Archived deployments report `active` with `archived_at` set.", "allOf": [ { "$ref": "#/$defs/BetaManagedAgentsDeploymentStatus" } ] }, "paused_reason": { "description": "Why the deployment is paused. Non-null exactly when status is paused; null otherwise.", "anyOf": [ { "$ref": "#/$defs/BetaManagedAgentsDeploymentPausedReason" }, { "type": "null" } ] }, "budget": { "description": "Spend ceiling stamped onto each session created from this deployment. Absent when no budget is set.", "anyOf": [ { "$ref": "#/$defs/BetaManagedAgentsBudget" }, { "type": "null" } ], "x-anthropic-beta-required": [ "managed-agents-2026-04-01" ] }, "created_at": { "description": "Time the deployment was created.", "allOf": [ { "$ref": "#/$defs/BetaTimestamp" } ] }, "updated_at": { "description": "Time the deployment was last updated.", "allOf": [ { "$ref": "#/$defs/BetaTimestamp" } ] }, "archived_at": { "description": "Time the deployment was archived. Null if not archived.", "anyOf": [ { "$ref": "#/$defs/BetaTimestamp" }, { "type": "null" } ] } }, "$defs": { "BetaCurrency": { "type": "string", "enum": [ "USD" ] }, "BetaManagedAgentsAgentArchivedDeploymentPausedReasonError": { "description": "The deployment's agent was archived.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "agent_archived_error" ] } } }, "BetaManagedAgentsAgentReference": { "description": "A resolved agent reference with a concrete version.", "type": "object", "additionalProperties": false, "required": [ "type", "id", "version" ], "properties": { "type": { "type": "string", "enum": [ "agent" ] }, "id": { "type": "string" }, "version": { "type": "integer", "format": "int32" } } }, "BetaManagedAgentsBase64DocumentSource": { "description": "Base64-encoded document data.", "type": "object", "additionalProperties": false, "required": [ "type", "media_type", "data" ], "properties": { "type": { "type": "string", "enum": [ "base64" ] }, "media_type": { "description": "MIME type of the document (e.g., \"application/pdf\").", "type": "string", "minLength": 1 }, "data": { "description": "Base64-encoded document data.", "type": "string", "minLength": 1 } } }, "BetaManagedAgentsBase64ImageSource": { "description": "Base64-encoded image data.", "type": "object", "additionalProperties": false, "required": [ "type", "media_type", "data" ], "properties": { "type": { "type": "string", "enum": [ "base64" ] }, "media_type": { "description": "MIME type of the image (e.g., \"image/png\", \"image/jpeg\", \"image/gif\", \"image/webp\").", "type": "string", "minLength": 1 }, "data": { "description": "Base64-encoded image data.", "type": "string", "minLength": 1 } } }, "BetaManagedAgentsBranchCheckout": { "type": "object", "additionalProperties": false, "required": [ "type", "name" ], "properties": { "type": { "type": "string", "enum": [ "branch" ] }, "name": { "description": "Branch name to check out.", "type": "string", "minLength": 1, "maxLength": 255 } } }, "BetaManagedAgentsBudget": { "description": "An enforced spend ceiling on a session. Discriminated on `type`; `limit` is the only kind currently supported.", "type": "object", "oneOf": [ { "$ref": "#/$defs/BetaManagedAgentsBudgetLimit" } ] }, "BetaManagedAgentsBudgetLimit": { "description": "A hard spend ceiling. The session stops issuing new model requests once the tracked list cost reaches `max_list_cost`.", "type": "object", "additionalProperties": false, "required": [ "type", "max_list_cost" ], "properties": { "type": { "type": "string", "enum": [ "limit" ] }, "max_list_cost": { "description": "Maximum list cost the session may accrue. List price is used regardless of any negotiated discount, so the cap fires at or before the actual charge.", "allOf": [ { "$ref": "#/$defs/BetaMonetaryAmount" } ] } } }, "BetaManagedAgentsCommitCheckout": { "type": "object", "additionalProperties": false, "required": [ "type", "sha" ], "properties": { "type": { "type": "string", "enum": [ "commit" ] }, "sha": { "description": "Full commit SHA to check out.", "type": "string", "minLength": 7, "maxLength": 64 } } }, "BetaManagedAgentsCronSchedule": { "description": "5-field POSIX cron schedule with computed runtime timestamps.", "type": "object", "additionalProperties": false, "required": [ "type", "expression", "timezone" ], "properties": { "type": { "type": "string", "enum": [ "cron" ] }, "expression": { "description": "5-field POSIX cron expression: minute hour day-of-month month day-of-week (e.g., \"0 9 * * 1-5\" for weekdays at 9am). Day-of-week is 0-7 where 0 and 7 both mean Sunday. Extended cron syntax - seconds or year fields, and the special characters L, W, #, and ? - is not supported, nor are predefined shortcuts (@daily).", "type": "string", "minLength": 1, "maxLength": 256 }, "timezone": { "description": "IANA timezone identifier (e.g., \"America/Los_Angeles\", \"UTC\").", "type": "string", "minLength": 1 }, "last_run_at": { "description": "Time the most recent scheduled run actually started. Null until one completes; preserved after the deployment is archived. Manual runs do not update this.", "anyOf": [ { "$ref": "#/$defs/BetaTimestamp" }, { "type": "null" } ] }, "upcoming_runs_at": { "description": "Up to 5 timestamps of upcoming cron occurrences. Non-empty for active and paused deployments (reflects what the schedule would do if unpaused); empty once the deployment is archived (`archived_at` set). Each fire is offset by a small per-schedule jitter, so a run will actually start at or shortly after its listed time.", "type": "array", "items": { "$ref": "#/$defs/BetaTimestamp" } } } }, "BetaManagedAgentsDeploymentInitialEvent": { "description": "An event sent to a session immediately after it is created. Supports `user.message`, `user.define_outcome`, and `system.message`.", "type": "object", "oneOf": [ { "$ref": "#/$defs/BetaManagedAgentsDeploymentUserMessageEvent" }, { "$ref": "#/$defs/BetaManagedAgentsDeploymentUserDefineOutcomeEvent" }, { "$ref": "#/$defs/BetaManagedAgentsDeploymentSystemMessageEvent" } ] }, "BetaManagedAgentsDeploymentPausedReason": { "description": "Why a deployment is paused. Non-null exactly when `status` is `paused`.", "type": "object", "oneOf": [ { "$ref": "#/$defs/BetaManagedAgentsManualDeploymentPausedReason" }, { "$ref": "#/$defs/BetaManagedAgentsErrorDeploymentPausedReason" } ] }, "BetaManagedAgentsDeploymentPausedReasonError": { "description": "The error that triggered an auto-pause. Matches the failed run's `error.type`.", "type": "object", "oneOf": [ { "$ref": "#/$defs/BetaManagedAgentsEnvironmentArchivedDeploymentPausedReasonError" }, { "$ref": "#/$defs/BetaManagedAgentsAgentArchivedDeploymentPausedReasonError" }, { "$ref": "#/$defs/BetaManagedAgentsEnvironmentNotFoundDeploymentPausedReasonError" }, { "$ref": "#/$defs/BetaManagedAgentsVaultNotFoundDeploymentPausedReasonError" }, { "$ref": "#/$defs/BetaManagedAgentsFileNotFoundDeploymentPausedReasonError" }, { "$ref": "#/$defs/BetaManagedAgentsSessionResourceNotFoundDeploymentPausedReasonError" }, { "$ref": "#/$defs/BetaManagedAgentsWorkspaceArchivedDeploymentPausedReasonError" }, { "$ref": "#/$defs/BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonError" }, { "$ref": "#/$defs/BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonError" }, { "$ref": "#/$defs/BetaManagedAgentsSkillNotFoundDeploymentPausedReasonError" }, { "$ref": "#/$defs/BetaManagedAgentsVaultArchivedDeploymentPausedReasonError" }, { "$ref": "#/$defs/BetaManagedAgentsUnknownDeploymentPausedReasonError" }, { "$ref": "#/$defs/BetaManagedAgentsSelfHostedResourcesUnsupportedDeploymentPausedReasonError" }, { "$ref": "#/$defs/BetaManagedAgentsMcpEgressBlockedDeploymentPausedReasonError" } ] }, "BetaManagedAgentsDeploymentStatus": { "type": "string", "description": "Lifecycle status of a deployment.", "enum": [ "active", "paused" ] }, "BetaManagedAgentsDeploymentSystemMessageEvent": { "description": "Privileged context for the accompanying turn and all subsequent turns, appended to the session's system context as a `role: \"system\"` turn rather than replacing the top-level system prompt.", "type": "object", "additionalProperties": false, "required": [ "type", "content" ], "properties": { "type": { "type": "string", "enum": [ "system.message" ] }, "content": { "description": "System content blocks to append. Text-only.", "type": "array", "items": { "$ref": "#/$defs/BetaManagedAgentsSystemContentBlock" } } } }, "BetaManagedAgentsDeploymentUserDefineOutcomeEvent": { "description": "An outcome the agent should work toward. The agent begins work on receipt.", "type": "object", "additionalProperties": false, "required": [ "type", "description", "rubric" ], "properties": { "type": { "type": "string", "enum": [ "user.define_outcome" ] }, "description": { "description": "What the agent should produce. This is the task specification.", "type": "string" }, "rubric": { "description": "How to grade the outcome. Text or file reference.", "allOf": [ { "$ref": "#/$defs/BetaManagedAgentsRubric" } ] }, "max_iterations": { "description": "Eval→revision cycles before giving up. Default 3, max 20.", "anyOf": [ { "type": "integer", "format": "int32" }, { "type": "null" } ] } } }, "BetaManagedAgentsDeploymentUserMessageEvent": { "description": "A user message sent to the session.", "type": "object", "additionalProperties": false, "required": [ "type", "content" ], "properties": { "type": { "type": "string", "enum": [ "user.message" ] }, "content": { "description": "Array of content blocks for the user message.", "type": "array", "items": { "$ref": "#/$defs/BetaManagedAgentsUserContentBlock" } } } }, "BetaManagedAgentsDocumentBlock": { "description": "Document content, either specified directly as base64 data, as text, or as a reference via a URL.", "type": "object", "additionalProperties": false, "required": [ "type", "source" ], "properties": { "type": { "type": "string", "enum": [ "document" ] }, "source": { "description": "The source of the document data.", "allOf": [ { "$ref": "#/$defs/BetaManagedAgentsDocumentSource" } ] }, "title": { "description": "The title of the document.", "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "context": { "description": "Additional context about the document for the model.", "anyOf": [ { "type": "string" }, { "type": "null" } ] } } }, "BetaManagedAgentsDocumentSource": { "description": "Union type for document source variants.", "type": "object", "oneOf": [ { "$ref": "#/$defs/BetaManagedAgentsBase64DocumentSource" }, { "$ref": "#/$defs/BetaManagedAgentsPlainTextDocumentSource" }, { "$ref": "#/$defs/BetaManagedAgentsURLDocumentSource" }, { "$ref": "#/$defs/BetaManagedAgentsFileDocumentSource" } ] }, "BetaManagedAgentsEnvironmentArchivedDeploymentPausedReasonError": { "description": "The deployment's environment was archived.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "environment_archived_error" ] } } }, "BetaManagedAgentsEnvironmentNotFoundDeploymentPausedReasonError": { "description": "The deployment's environment no longer exists.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "environment_not_found_error" ] } } }, "BetaManagedAgentsErrorDeploymentPausedReason": { "description": "A scheduled fire recorded a failed run whose error auto-pauses the deployment.", "type": "object", "additionalProperties": false, "required": [ "type", "error" ], "properties": { "type": { "type": "string", "enum": [ "error" ] }, "error": { "description": "The failed run's error.", "allOf": [ { "$ref": "#/$defs/BetaManagedAgentsDeploymentPausedReasonError" } ] } } }, "BetaManagedAgentsFileDocumentSource": { "description": "Document referenced by file ID.", "type": "object", "additionalProperties": false, "required": [ "type", "file_id" ], "properties": { "type": { "type": "string", "enum": [ "file" ] }, "file_id": { "description": "ID of a previously uploaded file.", "type": "string", "minLength": 1 } } }, "BetaManagedAgentsFileImageSource": { "description": "Image referenced by file ID.", "type": "object", "additionalProperties": false, "required": [ "type", "file_id" ], "properties": { "type": { "type": "string", "enum": [ "file" ] }, "file_id": { "description": "ID of a previously uploaded file.", "type": "string", "minLength": 1 } } }, "BetaManagedAgentsFileNotFoundDeploymentPausedReasonError": { "description": "A file resource referenced by the deployment no longer exists.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "file_not_found_error" ] } } }, "BetaManagedAgentsFileResourceConfig": { "description": "A file mounted into each session's container.", "type": "object", "additionalProperties": false, "required": [ "type", "file_id" ], "properties": { "type": { "type": "string", "enum": [ "file" ] }, "file_id": { "description": "ID of a previously uploaded file.", "type": "string" }, "mount_path": { "description": "Mount path in the container. Defaults to `/mnt/session/uploads/`.", "anyOf": [ { "type": "string" }, { "type": "null" } ] } } }, "BetaManagedAgentsFileRubric": { "description": "Rubric referenced by a file uploaded via the Files API.", "type": "object", "additionalProperties": false, "required": [ "type", "file_id" ], "properties": { "type": { "type": "string", "enum": [ "file" ] }, "file_id": { "description": "ID of the rubric file.", "type": "string" } } }, "BetaManagedAgentsGitHubRepositoryResourceConfig": { "description": "A GitHub repository mounted into each session's container. The authorization token is write-only and never returned.", "type": "object", "additionalProperties": false, "required": [ "type", "url" ], "properties": { "type": { "type": "string", "enum": [ "github_repository" ] }, "url": { "description": "Github URL of the repository", "type": "string" }, "mount_path": { "description": "Mount path in the container. Defaults to `/workspace/`.", "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "checkout": { "description": "Branch or commit to check out. Defaults to the repository's default branch.", "anyOf": [ { "$ref": "#/$defs/BetaManagedAgentsRepositoryCheckout" }, { "type": "null" } ] } } }, "BetaManagedAgentsImageBlock": { "description": "Image content specified directly as base64 data or as a reference via a URL.", "type": "object", "additionalProperties": false, "required": [ "type", "source" ], "properties": { "type": { "type": "string", "enum": [ "image" ] }, "source": { "description": "The source of the image data.", "allOf": [ { "$ref": "#/$defs/BetaManagedAgentsImageSource" } ] } } }, "BetaManagedAgentsImageSource": { "description": "Union type for image source variants.", "type": "object", "oneOf": [ { "$ref": "#/$defs/BetaManagedAgentsBase64ImageSource" }, { "$ref": "#/$defs/BetaManagedAgentsURLImageSource" }, { "$ref": "#/$defs/BetaManagedAgentsFileImageSource" } ] }, "BetaManagedAgentsManualDeploymentPausedReason": { "description": "The caller invoked the pause endpoint on the deployment.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "manual" ] } } }, "BetaManagedAgentsMcpEgressBlockedDeploymentPausedReasonError": { "description": "An MCP server host used by the deployment's agent is blocked by the environment's network policy.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "mcp_egress_blocked_error" ] } } }, "BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonError": { "description": "A memory store referenced by the deployment is archived.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "memory_store_archived_error" ] } } }, "BetaManagedAgentsMemoryStoreResourceConfig": { "description": "A memory store attached to each session created from this deployment.", "type": "object", "additionalProperties": false, "required": [ "type", "memory_store_id" ], "properties": { "type": { "type": "string", "enum": [ "memory_store" ] }, "memory_store_id": { "description": "The memory store ID (memstore_...). Must belong to the caller's organization and workspace.", "type": "string" }, "access": { "description": "Access mode for the mounted store. Defaults to read_write. read_only mounts the store as a read-only filesystem.", "anyOf": [ { "$ref": "#/$defs/BetaManagedAgentsMountMode" }, { "type": "null" } ] }, "instructions": { "description": "Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.", "anyOf": [ { "type": "string" }, { "type": "null" } ], "x-anthropic-beta-required": [ "agent-memory-2026-07-22", "managed-agents-2026-04-01" ] } } }, "BetaManagedAgentsMountMode": { "type": "string", "description": "Access mode for an attached memory store.", "enum": [ "read_write", "read_only" ] }, "BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonError": { "description": "The deployment's organization is disabled.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "organization_disabled_error" ] } } }, "BetaManagedAgentsPlainTextDocumentSource": { "description": "Plain text document content.", "type": "object", "additionalProperties": false, "required": [ "type", "media_type", "data" ], "properties": { "type": { "type": "string", "enum": [ "text" ] }, "media_type": { "description": "MIME type of the text content. Must be \"text/plain\".", "type": "string", "enum": [ "text/plain" ] }, "data": { "description": "The plain text content.", "type": "string", "minLength": 1 } } }, "BetaManagedAgentsRedactedBlock": { "description": "Placeholder for content withheld by Anthropic model policy.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "redacted" ] } } }, "BetaManagedAgentsRepositoryCheckout": { "type": "object", "oneOf": [ { "$ref": "#/$defs/BetaManagedAgentsBranchCheckout" }, { "$ref": "#/$defs/BetaManagedAgentsCommitCheckout" } ] }, "BetaManagedAgentsRubric": { "description": "Rubric for grading the quality of an outcome.", "oneOf": [ { "$ref": "#/$defs/BetaManagedAgentsFileRubric" }, { "$ref": "#/$defs/BetaManagedAgentsTextRubric" } ] }, "BetaManagedAgentsSchedule": { "description": "A recurring schedule with computed runtime timestamps. Discriminated union — only cron is supported currently.", "type": "object", "oneOf": [ { "$ref": "#/$defs/BetaManagedAgentsCronSchedule" } ] }, "BetaManagedAgentsSelfHostedResourcesUnsupportedDeploymentPausedReasonError": { "description": "The deployment configures resources, but its environment is self-hosted and cannot mount them.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "self_hosted_resources_unsupported_error" ] } } }, "BetaManagedAgentsSessionResourceConfig": { "description": "A configured session resource. Echoes the input minus write-only credentials.", "type": "object", "oneOf": [ { "$ref": "#/$defs/BetaManagedAgentsGitHubRepositoryResourceConfig" }, { "$ref": "#/$defs/BetaManagedAgentsFileResourceConfig" }, { "$ref": "#/$defs/BetaManagedAgentsMemoryStoreResourceConfig" } ] }, "BetaManagedAgentsSessionResourceNotFoundDeploymentPausedReasonError": { "description": "A referenced resource no longer exists and its kind was not reported.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "session_resource_not_found_error" ] } } }, "BetaManagedAgentsSkillNotFoundDeploymentPausedReasonError": { "description": "A skill referenced by the deployment's agent no longer exists.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "skill_not_found_error" ] } } }, "BetaManagedAgentsSystemContentBlock": { "description": "Content block in a mid-conversation system message. Text-only.", "type": "object", "oneOf": [ { "$ref": "#/$defs/BetaManagedAgentsTextBlock" } ] }, "BetaManagedAgentsTextBlock": { "description": "Regular text content.", "type": "object", "additionalProperties": false, "required": [ "type", "text" ], "properties": { "type": { "type": "string", "enum": [ "text" ] }, "text": { "description": "The text content.", "type": "string", "minLength": 1 } } }, "BetaManagedAgentsTextRubric": { "description": "Rubric content provided inline as text.", "type": "object", "additionalProperties": false, "required": [ "type", "content" ], "properties": { "type": { "type": "string", "enum": [ "text" ] }, "content": { "description": "Rubric content. Plain text or markdown — the grader treats it as freeform text.", "type": "string" } } }, "BetaManagedAgentsURLDocumentSource": { "description": "Document referenced by URL.", "type": "object", "additionalProperties": false, "required": [ "type", "url" ], "properties": { "type": { "type": "string", "enum": [ "url" ] }, "url": { "description": "URL of the document to fetch.", "type": "string", "minLength": 1 } } }, "BetaManagedAgentsURLImageSource": { "description": "Image referenced by URL.", "type": "object", "additionalProperties": false, "required": [ "type", "url" ], "properties": { "type": { "type": "string", "enum": [ "url" ] }, "url": { "description": "URL of the image to fetch.", "type": "string", "minLength": 1 } } }, "BetaManagedAgentsUnknownDeploymentPausedReasonError": { "description": "An unrecognized error auto-paused the deployment. A fallback variant; matches a run whose `error.type` is `unknown_error`.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "unknown_error" ] } } }, "BetaManagedAgentsUserContentBlock": { "description": "Content block in a user message. Can be `text`, `image`, or `document`.", "type": "object", "oneOf": [ { "$ref": "#/$defs/BetaManagedAgentsTextBlock" }, { "$ref": "#/$defs/BetaManagedAgentsImageBlock" }, { "$ref": "#/$defs/BetaManagedAgentsDocumentBlock" }, { "$ref": "#/$defs/BetaManagedAgentsRedactedBlock" } ] }, "BetaManagedAgentsVaultArchivedDeploymentPausedReasonError": { "description": "A vault referenced by the deployment is archived.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "vault_archived_error" ] } } }, "BetaManagedAgentsVaultNotFoundDeploymentPausedReasonError": { "description": "A vault referenced by the deployment no longer exists.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "vault_not_found_error" ] } } }, "BetaManagedAgentsWorkspaceArchivedDeploymentPausedReasonError": { "description": "The deployment's workspace was archived.", "type": "object", "additionalProperties": false, "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "workspace_archived_error" ] } } }, "BetaMonetaryAmount": { "description": "A monetary amount in a specific currency.", "type": "object", "additionalProperties": false, "required": [ "currency", "amount" ], "properties": { "currency": { "description": "Uppercase ISO-4217 currency code. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced.", "allOf": [ { "$ref": "#/$defs/BetaCurrency" } ] }, "amount": { "description": "Amount in minor units of the currency, as an integer decimal string with no leading zeros: \"2500\" is $25.00 and \"50\" is fifty cents. A string rather than a number so no float rounding is ever applied.", "type": "string" } } }, "BetaTimestamp": { "description": "A timestamp in RFC 3339 format", "type": "string", "format": "date-time" } } }