Omnia docs
REST APIPrompt

Delete prompt

Permanently delete one prompt and the AI answers collected for it. Use it when the prompt should no longer be tracked or kept; this cannot be undone. Turning monitoring off keeps the prompt and its history while stopping collection.

DELETE
/api/v1/prompts/{prompt}

Authorization

BearerAuth
AuthorizationBearer <token>

API token authentication. Use format: Bearer ot_your-token-here

In: header

Path Parameters

prompt*string

Unique identifier for the prompt

Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://app.useomnia.com/api/v1/prompts/550e8400-e29b-41d4-a716-446655440000"
Empty
{
  "error": {
    "code": 1002,
    "description": "Invalid input parameters"
  }
}
{
  "error": {
    "code": 1004,
    "description": "Invalid or expired API token"
  }
}
{
  "error": {
    "code": 1006,
    "description": "Item not found"
  }
}
{
  "error": {
    "code": 1001,
    "description": "Internal error"
  }
}