Skip to main content
DELETE
/
agents
/
{agent_id}
Delete an agent
curl --request DELETE \
  --url https://api.smith.langchain.com/v1/deepagents/agents/{agent_id} \
  --header 'X-Api-Key: <api-key>'
{
  "type": "<string>",
  "code": "<string>",
  "detail": "<string>",
  "status": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.langchain.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Api-Key
string
header
default:LANGSMITH_API_KEY
required

Path Parameters

agent_id
string<uuid>
required

Managed Deep Agent ID.

Response

Agent deleted.