Skip to main content
POST
Archive or restore agent

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

agents:write

Edit agent configuration, handbook, memory, tone examples, and schedules, and give agents tasks.

Path Parameters

agentId
string
required

Agent id from list_agents.

Required string length: 1 - 64

Body

application/json
archived
boolean
required

Response

Success

agentId
string
required
saved
boolean
required