delete
/api/v2/prompts/bulkDelete prompts in bulk.
Delete prompts in bulk.
Requires bearer API key
Parameters
X-Project-Id
header
Required for organization-wide API keys on project-scoped endpoints. Project-scoped keys infer the project automatically.
Schema: string
Request Body
{
"type": "object",
"additionalProperties": false,
"properties": {
"promptIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"promptIds"
]
}Responses
200
Successful JSON response.
application/json{
"type": "object",
"additionalProperties": true,
"properties": {
"deleted": {
"type": "integer"
}
},
"required": [
"deleted"
]
}Try it
Send this request to the local WatchLLM REST handler. Use a key from `/workspace/api`; organization keys can include `X-Project-Id` only when the endpoint documents that header.