Skip to main content
POST
/
prompts
/
run
Start (or resume) a prompt run
curl --request POST \
  --url https://openlens.com/api/prompts/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "runId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "resumed": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.openlens.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Clerk API key. Create one from your account settings under API Keys.

Body

application/json
projectId
string<uuid>
required

Response

Successful response

runId
string<uuid>
required
status
enum<string>
required
Available options:
running
resumed
boolean