Skip to main content
GET
/
api
/
chat
/
runs
/
{runId}
cURL
curl --request GET \
  --url https://api.recoupable.com/api/chat/runs/{runId} \
  --header 'x-api-key: <api-key>'
{
  "runId": "wrun_01KVWZNM82NA7XKNEWWHG8VPHJ"
}

Authorizations

x-api-key
string
header
required

Your Recoup API key. Learn more.

Path Parameters

runId
string
required

The durable workflow run id returned by POST /api/chat/runs.

Response

Run status snapshot

Point-in-time status of an asynchronous chat-generation run.

runId
string
required

The durable workflow run id.

Example:

"wrun_01KVWZNM82NA7XKNEWWHG8VPHJ"

status
enum<string>
required

Lifecycle state of the run. Read the produced content via the chat (chatId from the start response).

Available options:
queued,
running,
completed,
failed,
cancelled