GET /runs/{id}#

GET https://app.promptpotter.dev/api/v1/runs/{id}

Fetch the current state of a run, including the best prompt found so far.

Path parameters

idstringrequired
The run id returned by POST /runs.

Response 200 OK

{
  "id": "run_8fK2a",
  "status": "running",
  "round": 5,
  "clean_rounds": 3,
  "best": { "score": 0.82 }
}

Note

status is one of queued, running, completed or failed.