Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

The session's runs, newest first (at most 100, not paginated)

GET
/v1/studio/sessions/{session_id}/runs
curl --request GET \
--url http://localhost:8300/v1/studio/sessions/example/runs \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <x-api-key>'
session_id
required
string

Session UUID (malformed = 404)

Runs

Media typeapplication/json
object
runs
required
Array<object>
object
id
required
string format: uuid
session_id
required
string format: uuid
workflow_id
required
string
inputs
required

As requested

object
key
additional properties
Any of:

Null only for a seed (random) or an image, media, span or voice param left empty

string | number | boolean | null
status
required
string
Allowed values: queued running succeeded failed cancelled
progress
required
One of:
object
node
required

The node id that is stepping

string
step
required
integer
>= 1
of
required
integer
>= 1
phase

What the node is doing (loading transformer, sampling, decoding)

string
phase_id

The id of one of the node’s NodeSchema phases it is in; only from a node with phases

string
eta_s

Estimated seconds until the run finishes

number
error
required

Set when failed

string | null
outputs
required

By index; outputs whose take was deleted are left out

Array<object>
object
index
required
integer
key
required

Object key, u/<owner_id>/runs/<run_id>//.

string
kind
required

Width and height null)

string
Allowed values: image video audio
url
required

The image, or the MP4 of a video (served with Range)

string
width
required
integer | null
height
required
integer | null
video

Kind video only (absent for an image)

object
duration_s
required

Frames / fps

number
> 0
fps
required
number
> 0
frames
required
integer
>= 1
has_audio
required

The MP4 has an audio track (LTX: AAC 48 kHz stereo)

boolean
poster_url
required

Signed, time-limited link; opaque

string
audio

Kind audio only: its length and sample rate

object
duration_s
required

An upload: as the client declared it

number
> 0 <= 600
sample_rate

Absent for an upload (studio does not decode it)

integer
>= 8000 <= 96000
cues

A dialogue’s take only: one per line, in order; the stage draws them as line markers, the Timeline as ticks on the clip (sequence time = clip at + cue − clip in)

Array<object>
>= 1 items <= 40 items

One dialogue line in its take (defs cue): line from 1, [start_s, end_s) in the take’s own seconds, the speaker’s voice id (a deleted voice’s id stays), the text as spoken

object
line
required
integer
>= 1 <= 40
start_s
required
number
<= 600
end_s
required
number
> 0 <= 600
voice_id
required
string
/^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|[a-z0-9][a-z0-9_-]{0,63}/[a-z0-9][a-z0-9-]{0,63})$/
text
required
string
<= 600 characters
seed

The seed it was made with; absent when the workflow has none

integer
take_id

The take this output became (every output is a take)

string format: uuid
thumb_url

Its take’s thumb_url (Take.thumb_url); absent without a take (or once it is deleted): use url

string
host
required

The host it was sent to (its current attempt’s); while queued, the host it is lined up for (the one the dispatcher would choose now, may change); null when none was eligible

string | null
lost_host

The host attempt 1 was sent to, when that host stopped responding and the run was queued again; absent or null otherwise

string | null
lane
required

Interactive (Create, POST …/runs) is dispatched before batch

string
Allowed values: interactive batch
attempt
required

1; 2 after its runner was lost once and it was queued again

integer
>= 1 <= 2
position

Only while queued: 1 + the number of queued runs (anyone’s) the dispatcher would release on host before it, recomputed on every read; absent otherwise

integer
>= 1
resolved

Values the runner chose (a random seed, an auto length), sent with succeeded

object
seed
integer
params

<node>.<param> → the value the runner chose for a param set to "auto" (duration.frames: the predicted length); absent when none

object
key
additional properties
integer
>= 1
texts

<node>.<output> → a Text output the runner made that the user did not write (an enhancer’s prompt); absent when none

object
<= 4 properties
key
additional properties
string
>= 1 characters <= 16384 characters
created_at
required
string format: date-time
started_at
required

The runner reported running

string | null format: date-time
finished_at
required
string | null format: date-time
batch_id

The batch it runs a row of (lane batch); absent or null for a Create run

string | null format: uuid
batch_row

The batch row number; with batch_id

integer | null
>= 1
workflow_version

A user workflow: the version it ran (its graph is the run’s snapshot); absent or null for a template

integer | null
>= 1
looks

The looks it was asked with (RunRequest.looks; a batch run: its row’s or step’s), as requested; absent or empty = none

Array<string>
<= 8 items
answer

A run of a text (ask) workflow (lane batch: a judge, write or decide call): its answer, stored on the run, never a take (outputs stays empty). Sent once it succeeded, and when it failed on the schema

object
text
required

The last try

string
<= 32768 characters
tokens_in
required
integer
tokens_out
required
integer
seconds
required
number
purpose

Name = the hidden run that names its session (local namer, lane batch); only GET /v1/studio/queue lists one. Absent or null otherwise

string | null
Allowed values: name
unloads_pinned

Only while queued (computed on every read, like position): the pinned components the host memory admission would unload, as its last-resort victims, if the run were admitted on host now; they are loaded again, and pinned again, when next used. Absent when none

Array<object>
>= 1 items
object
env
required
string
component
required
string
model
required
string
variant
required
string
precision
required
string
gb
required

Its resident size: what reloading it costs

number

Example

{
"runs": [
{
"inputs": {
"prompt.text": "a red fox",
"echo.steps": 20
},
"status": "queued",
"outputs": [
{
"kind": "image",
"url": "/files/u/7d1e.../runs/3c9a.../0.png?exp=1767225600&sig=ab12",
"video": {
"duration_s": 2.0416666666666665,
"fps": 24,
"frames": 49,
"poster_url": "/files/u/7d1e.../runs/3c9a.../0.png?exp=1767225600&sig=ab12"
},
"thumb_url": "/files/u/7d1e.../runs/3c9a.../0.png?exp=1767225600&sig=ab12"
}
],
"lane": "interactive",
"resolved": {
"params": {
"duration.frames": 89
},
"texts": {
"enhance.text": "A ginger cat asleep on a green velvet sofa, soft window light"
}
},
"looks": [
"qwen-image/window-light"
],
"purpose": "name"
}
]
}

Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Not found

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Retryable

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}