Archive Agent

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Archives an agent by its ID. To list archived agents, set only_archived to true in List agents.

When to use it

Use it to retire an agent you may want to restore later with Unarchive an agent. To stop an agent's real-time interactions but keep it in place, use Unpublish an agent. To remove it entirely, use Delete an agent.

Required parameters

  • agent_id (path): the ID of the agent.

Example request

Archive the agent AGENT_ID:

curl -X POST "https://api.superwise.ai/v1/agents/AGENT_ID/archive" \
  -H "Authorization: Bearer YOUR_TOKEN"

Replace YOUR_TOKEN with a bearer token. Creating a bearer token shows how to get one from the client ID and secret key you create in Generate access token. The agent then appears in List agents only when only_archived is true.

Response

A successful call returns 200 OK. The response body is not documented.

Related: Unarchive an agent, List agents, Delete an agent, Run a bulk action on agents

Path Params
string
required
Responses

404

Not Found

422

Unprocessable Entity

500

Internal Server Error

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here!