delete/api/v2/prompts/bulk
Delete prompts in bulk.
Delete prompts in bulk.
Requires bearer API keyParameters
| Name | In | Description |
|---|---|---|
| X-Project-Id | header | Required for organization-wide API keys on project-scoped endpoints. Project-scoped keys infer the project automatically.string |
Request Body
{
"type": "object",
"additionalProperties": false,
"properties": {
"promptIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"promptIds"
]
}Responses
200
application/jsonSuccessful JSON response.
{
"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.