Skip to main content
GET
/
boxes
/
{boxId}
/
prompts
/
{promptId}
Get prompt run status
curl --request GET \
  --url https://ascii.dev/api/box/v1/boxes/{boxId}/prompts/{promptId} \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "type": "<string>",
  "id": "<string>",
  "promptRun": {
    "id": "<string>",
    "promptId": "<string>",
    "boxId": "<string>",
    "done": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "model": "<string>",
    "reasoningEffort": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Box API key in the form box_.... Create and rotate keys in the Box dashboard or through the v1 API key endpoints.

Path Parameters

boxId
string
required

Public Box id returned by create/list/get box calls.

Pattern: ^bx_[23456789abcdefghjkmnpqrstuvwxyz]{8}$
promptId
string
required

Response

Prompt run status.

ok
boolean
required
Example:

true

type
string
required

Stable success envelope discriminator added by v1.

Allowed value: "prompt.run"
id
string
required
promptRun
object
required