Skip to main content
GET
PromptJuggler PHP SDK

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Prompt run ID

Response

Prompt Run

Prompt run status and result.

id
string<uuid>
required

Prompt run ID.

status
enum<string>
required

Current run status.

Available options:
pending,
completed,
failed
createdAt
string<date-time>
required

Timestamp when the run was created.

emitted
object[]
required

Payloads produced by emit tools during this run, in call order. Empty until the run completes.

transcript
(TranscriptText · object | TranscriptTool · object | TranscriptData · object)[]
required

The run as a renderable sequence: assistant text, the tools it used, and emit payloads in position. Empty until the run completes. output remains the flat text for callers that only need the answer.

A block of assistant text.

finishedAt
string<date-time> | null

Timestamp when the run finished. Null while the run is pending.

output
string | null

LLM output text. Null while pending or when the run failed.

error
string | null

Error message if the run failed. Null on success.

tokenUsage
object | null

Token usage for the successful run. Null while pending or when the run failed.

cost
object | null

Cost breakdown for the run. Null while pending.