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

Delete Knowledge Item

Remove one knowledge item from an evaluation agent.
This is a destructive cleanup action. Use it when a source item is outdated, duplicated, or should no longer inform evaluation.
Use this after listing knowledge items and confirming the configId.

Endpoint

DELETE /api/agents/{id}/config/{configId}

Authentication

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

Path Parameters

NameTypeDescription
idstring<uuid>Evaluation agent ID.
configIdintegerKnowledge item ID.

Success Response

Returns 204 No Content when the knowledge item 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.

configId
integer
required

Knowledge item ID.

Response

Knowledge item deleted successfully