cURL
curl --request POST \ --url https://server.promptwatch.com/api/v2/prompts/{id}/rerun \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{}'
{ "queued": true, "message": "<string>" }
Queue a prompt for immediate execution
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Prompt ID
The body is of type object.
object
Default Response
Whether the prompt was queued for execution
Status message