staqlydocs
REST APIAPI referenceMedia

Discard an AI request

Discard an AI request (media:write)

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

DELETE
/v1/ai/jobs/{id}

Cancels a request that still runs (the provider is asked to drop it; one it already started may still be charged) and deletes its temporary files. A result already kept stays in the library.

Authorization

headerAuthorizationBearer <token>

API key (stk_...), or in the Community Edition the access token (stk_local_...)

Path Parameters

id*string

Response Body

Discarded

Example Request
curl -X DELETE 'https://staqly.example.com/v1/ai/jobs/string'
Example Response
Empty