Skip to main content
POST
/
prompts
/
{id}
/
rerun
Rerun Prompt
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>"
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.

Path Parameters

id
string<uuid>
required

Prompt ID

Body

application/json

The body is of type object.

Response

Default Response

queued
boolean
required

Whether the prompt was queued for execution

message
string
required

Status message