Skip to content
FLORA DocsGo to app

Runs

Nested technique run endpoints.

Start a technique run
client.techniques.runs.create(stringtechniqueID, RunCreateParams { inputs, mode, callback_url, idempotency_key } body, RequestOptionsoptions?): RunCreateResponse { created_at, progress, run_id, 8 more }
POST/techniques/{techniqueId}/runs
Get a technique run
client.techniques.runs.retrieve(stringrunID, RunRetrieveParams { techniqueId } params, RequestOptionsoptions?): RunRetrieveResponse { created_at, progress, run_id, 8 more }
GET/techniques/{techniqueId}/runs/{runId}
ModelsExpand Collapse
RunCreateResponse { created_at, progress, run_id, 8 more }
created_at: number
progress: number
run_id: string

Run identifier

status: "pending" | "running" | "completed" | "failed"
One of the following:
"pending"
"running"
"completed"
"failed"
charged_cost?: number
completed_at?: number
error_code?: string

Machine-readable run error code

error_message?: string

Human-readable run error message

outputs?: Array<Output>
output_id: string

Run output identifier

type: "imageUrl" | "videoUrl" | "audioUrl" | 2 more

Run output media type

One of the following:
"imageUrl"
"videoUrl"
"audioUrl"
"text"
"documentUrl"
url: string

Run output URL

formaturi
poll_url?: string
formaturi
started_at?: number
RunRetrieveResponse { created_at, progress, run_id, 8 more }
created_at: number
progress: number
run_id: string

Run identifier

status: "pending" | "running" | "completed" | "failed"
One of the following:
"pending"
"running"
"completed"
"failed"
charged_cost?: number
completed_at?: number
error_code?: string

Machine-readable run error code

error_message?: string

Human-readable run error message

outputs?: Array<Output>
output_id: string

Run output identifier

type: "imageUrl" | "videoUrl" | "audioUrl" | 2 more

Run output media type

One of the following:
"imageUrl"
"videoUrl"
"audioUrl"
"text"
"documentUrl"
url: string

Run output URL

formaturi
poll_url?: string
formaturi
started_at?: number