Delete Agent Definitions

Soft-deletes one or more agent definitions and their associated versions.

DELETE https://api.futureagi.com/simulate/agent-definitions/

Authentication

X-Api-Key API Key Required

Your Future AGI API key used to authenticate requests. You can find and manage your API keys in the Dashboard under Settings.

X-Secret-Key Secret Key Required

Your Future AGI secret key, used alongside the API key for request authentication. This is generated when you create an API key in the Dashboard.

Request body

agentIds array of string Required

List of agent definition UUIDs to delete. Must contain at least one ID.

Response

200 OK
message string
Confirmation message.
agentsUpdated integer
Number of agent definitions deleted.
versionsUpdated integer
Number of agent versions deleted.

Errors

400 Bad Request Optional

agentIds is missing, not an array, or empty.

401 Unauthorized Optional

Invalid or missing API credentials.

500 Internal Server Error Optional

Unexpected server error.

GET /
Authentication
REQUEST
 
RESPONSE