Clone an agent
Create a new agent that mirrors the source agent behavior but is owned by the caller. The clone copies runtime, backend, file tree, tools, subagents, and skills; caller metadata and sharing state start fresh.
Authorizations
Headers
IANA timezone name (for example, America/Los_Angeles) stamped into the agent's runtime configuration when the agent is created or updated. The runtime uses this timezone to inject a localized current-date line into the agent's system prompt, so the agent reasons about dates in the user's local time. Optional. Defaults to UTC when omitted; invalid values fall back to UTC.
"America/Los_Angeles"
Path Parameters
Managed Deep Agent ID.
Query Parameters
Include the raw file map in the agent response. Accepted truthy values are true and 1.
Body
Response
Agent cloned.
Agent visibility and sharing configuration. When omitted on create, defaults to personal identity, tenant visibility, and read tenant access.
Caller access level for this agent.
READ, RUN, WRITE Whether the authenticated caller owns this agent.
Revision token for the latest file tree commit.
Deprecated alias echoed alongside system_prompt for backwards compatibility.
Raw file map for paths not covered by typed fields. Keys are relative file paths. Setting a typed field and the corresponding files entry returns 422.
Agent system prompt parsed from AGENTS.md.

