Skip to main content
DELETE
/
api
/
agents
/
{id}
Delete evaluation agent
curl --request DELETE \
  --url https://agent-evalserver-production.up.railway.app/api/agents/{id} \
  --header 'x-api-key: <api-key>'
{
  "error": "<string>",
  "message": "<string>",
  "details": "<string>"
}

Delete Evaluation Agent

Delete an evaluation agent when it is no longer needed.
This is a destructive cleanup action. It removes the evaluation agent record for the authenticated account.
Use this after listing or retrieving an agent and confirming the id belongs to the evaluation target you want to remove.

Endpoint

DELETE /api/agents/{id}

Authentication

Send your platform API key in the x-api-key header.

Path Parameters

NameTypeDescription
idstring<uuid>Evaluation agent ID.

Success Response

Returns 204 No Content when the agent is deleted.

Authorizations

x-api-key
string
header
required

Platform API key for authenticated account-level API access

Path Parameters

id
string<uuid>
required

Evaluation agent ID returned by Create evaluation agent.

Response

Evaluation agent deleted successfully