Skip to main content
POST
Restore Agent

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string
required
workspace
string
required

Slug of the workspace the request acts in

Maximum string length: 120
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$

Response

Successful Response

id
string<uuid>
required
name
string
required
slug
string
required
status
string
required
a2a_url
string | null
a2ui_enabled
boolean | null
agent_type
string
default:stateless
answer_check
AnswerCheckPolicy · object | null

Check an agent's final answer and have the model rewrite it once if it leaks.

Leaks: CJK characters, tool names and snake_case codes, stack traces, raw JSON, and (for language: ru) lowercase English words in a Russian answer.

description
string | null
instruction
string | null
is_catalog
boolean
default:false
model_id
string | null
planning
boolean | null
registry_item_id
string | null
skills
Skills · object[] | null
tools
(CodeToolConfig · object | McpToolConfig · object | AgentToolConfig · object | OpenApiToolConfig · object)[] | null
update_available
boolean
default:false