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

Send the board to the Timeline as a new sequence (a dry run answers what goes)

POST
/v1/studio/magic/boards/{board_id}/send
curl --request POST \
--url http://localhost:8300/v1/studio/magic/boards/example/send \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "revision": 1, "name": "example", "dry_run": true }'

Always a new sequence, built from the board at revision: the first Shots lane on V1, voice, music and sound on audio tracks linked to their shots, cut and dissolve as the Timeline’s, fade, wipe and lane fades baked (and effects into their shot’s clip), a morph as its own clip. Without bakes: 201 with the send and its sequence; with bakes: 202 with the send baking and its media jobs (kind bake), the sequence made when the last one succeeds. 409 You have 100 sequences; delete some first. (the Timeline’s), 409 when revision is not the current one, 409 no live host can export (ffmpeg) when bakes are needed and no env can run them, 409 This board is still sending; wait for it.; 422 Nothing to send: add a shot with a take first.

board_id
required
string

A Magic board’s UUID (another user’s or malformed = 404)

Media typeapplication/json
object
revision
required

The board’s current revision, as the caller has it (409 when stale)

integer
>= 1
name

The sequence’s name; absent: <board> · send <n>

string
>= 1 characters <= 80 characters
dry_run
boolean

Example generated

{
"revision": 1,
"name": "example",
"dry_run": true
}

OK

Media typeapplication/json
object
plan
required
object
name
required
string
revision
required
integer
>= 1
goes
required
Array<object>

One lane that goes: its blocks with a take and the Timeline track they land on

object
lane
required

A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>

string
/^[A-Za-z0-9_-]{1,40}$/
name
required
string
kind
required

Video: the Shots lane on V1; the rest by their lane’s role (audio: a free lane’s sound)

string
Allowed values: video voice music sound audio
blocks
required
integer
track
required

The track as the Timeline names it: V1, A2, A3, …

string
linked
required

Blocks linked to their shot

integer
joins
required
Array<object>
object
transition
required

A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>

string
/^[A-Za-z0-9_-]{1,40}$/
kind
required
string
Allowed values: dissolve fade wipe morph fade_in fade_out crossfade
how
required

Kept: the Timeline’s own dissolve; baked: a bake job’s clip; clip: a morph’s take as its own clip; cut: sent as a cut (why in the warnings); skipped: not sent; fades: a sound lane’s fade in or out as its first or last block’s clip’s fade

string
Allowed values: kept baked clip cut skipped crossfade fades
effects
required

Each effect badge on a shot that goes (off ones are left out)

Array<object>
object
block
required

A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>

string
/^[A-Za-z0-9_-]{1,40}$/
name
required
string
how
required
string
Allowed values: baked skipped
warnings
required

What the sequence will lack or differ in (Shot 3 has no take: a gap, Shot 3 is out of date: sends take 2 as it is)

Array<string>
bakes
required

How many bake jobs it needs

integer
bake_seconds
required

Their estimate in seconds (null: no bakes)

number | null
host
required

The host that would bake (null: no bakes, or no live host)

string | null
send

Absent on a dry run

object
id
required
string format: uuid
name
required
string
revision
required

The board revision it was sent from (kept while the send is listed)

integer
>= 1
status
required
string
Allowed values: baking done failed
timeline_id
required

Done: the new sequence

string | null format: uuid
timeline_gone

The sequence was deleted since

boolean
bakes
required
integer
baked
required
integer
jobs

Its bake jobs (in the send’s own answer)

Array<object>
object
id
required
string format: uuid
kind
required

Mux: Save with the video (POST /v1/studio/takes/{take_id}/mux)

string
Allowed values: export frame mux bake
status
required
string
Allowed values: queued running succeeded failed cancelled
host
required
string
env
required
string
timeline_id
required

Export: the sequence

string | null format: uuid
revision
required

Export: the revision exported

integer | null
>= 1
source_take_id
required

Frame: the video take

string | null format: uuid
video_take_id

Mux only (absent otherwise): the video take whose picture it keeps

string | null format: uuid
send_id

Bake only (absent otherwise): the Magic send it bakes for

string | null format: uuid
mode
required

Export: what was planned (copy = picture stream copy); once it ended, what the runner did (copy can fall back to conform)

string | null
Allowed values: copy conform
reason

Export: why the runner fell back to conform; null otherwise

string | null
progress
required
One of:
object
frames
required
integer
total
required
integer
>= 1
take_id
required

Succeeded: the take it made

string | null format: uuid
failure
required
One of:
object
class
required

Host_lost: its host stopped responding; export again: another live host is chosen

string
Allowed values: input invalid ffmpeg verify internal host_lost
detail
required
string
created_at
required
string format: date-time
started_at
required
string | null format: date-time
finished_at
required
string | null format: date-time
failure
required

Failed: why (a bake failed, or the 100 sequences were reached meanwhile)

string | null
made_at
required
string format: date-time

Example

{
"plan": {
"goes": [
{
"kind": "video"
}
],
"joins": [
{
"kind": "dissolve",
"how": "kept"
}
],
"effects": [
{
"how": "baked"
}
]
},
"send": {
"status": "baking",
"jobs": [
{
"kind": "export",
"status": "queued",
"mode": "copy",
"failure": {
"class": "input"
}
}
]
}
}

Sent

Media typeapplication/json
object
plan
required
object
name
required
string
revision
required
integer
>= 1
goes
required
Array<object>

One lane that goes: its blocks with a take and the Timeline track they land on

object
lane
required

A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>

string
/^[A-Za-z0-9_-]{1,40}$/
name
required
string
kind
required

Video: the Shots lane on V1; the rest by their lane’s role (audio: a free lane’s sound)

string
Allowed values: video voice music sound audio
blocks
required
integer
track
required

The track as the Timeline names it: V1, A2, A3, …

string
linked
required

Blocks linked to their shot

integer
joins
required
Array<object>
object
transition
required

A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>

string
/^[A-Za-z0-9_-]{1,40}$/
kind
required
string
Allowed values: dissolve fade wipe morph fade_in fade_out crossfade
how
required

Kept: the Timeline’s own dissolve; baked: a bake job’s clip; clip: a morph’s take as its own clip; cut: sent as a cut (why in the warnings); skipped: not sent; fades: a sound lane’s fade in or out as its first or last block’s clip’s fade

string
Allowed values: kept baked clip cut skipped crossfade fades
effects
required

Each effect badge on a shot that goes (off ones are left out)

Array<object>
object
block
required

A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>

string
/^[A-Za-z0-9_-]{1,40}$/
name
required
string
how
required
string
Allowed values: baked skipped
warnings
required

What the sequence will lack or differ in (Shot 3 has no take: a gap, Shot 3 is out of date: sends take 2 as it is)

Array<string>
bakes
required

How many bake jobs it needs

integer
bake_seconds
required

Their estimate in seconds (null: no bakes)

number | null
host
required

The host that would bake (null: no bakes, or no live host)

string | null
send

Absent on a dry run

object
id
required
string format: uuid
name
required
string
revision
required

The board revision it was sent from (kept while the send is listed)

integer
>= 1
status
required
string
Allowed values: baking done failed
timeline_id
required

Done: the new sequence

string | null format: uuid
timeline_gone

The sequence was deleted since

boolean
bakes
required
integer
baked
required
integer
jobs

Its bake jobs (in the send’s own answer)

Array<object>
object
id
required
string format: uuid
kind
required

Mux: Save with the video (POST /v1/studio/takes/{take_id}/mux)

string
Allowed values: export frame mux bake
status
required
string
Allowed values: queued running succeeded failed cancelled
host
required
string
env
required
string
timeline_id
required

Export: the sequence

string | null format: uuid
revision
required

Export: the revision exported

integer | null
>= 1
source_take_id
required

Frame: the video take

string | null format: uuid
video_take_id

Mux only (absent otherwise): the video take whose picture it keeps

string | null format: uuid
send_id

Bake only (absent otherwise): the Magic send it bakes for

string | null format: uuid
mode
required

Export: what was planned (copy = picture stream copy); once it ended, what the runner did (copy can fall back to conform)

string | null
Allowed values: copy conform
reason

Export: why the runner fell back to conform; null otherwise

string | null
progress
required
One of:
object
frames
required
integer
total
required
integer
>= 1
take_id
required

Succeeded: the take it made

string | null format: uuid
failure
required
One of:
object
class
required

Host_lost: its host stopped responding; export again: another live host is chosen

string
Allowed values: input invalid ffmpeg verify internal host_lost
detail
required
string
created_at
required
string format: date-time
started_at
required
string | null format: date-time
finished_at
required
string | null format: date-time
failure
required

Failed: why (a bake failed, or the 100 sequences were reached meanwhile)

string | null
made_at
required
string format: date-time

Example

{
"plan": {
"goes": [
{
"kind": "video"
}
],
"joins": [
{
"kind": "dissolve",
"how": "kept"
}
],
"effects": [
{
"how": "baked"
}
]
},
"send": {
"status": "baking",
"jobs": [
{
"kind": "export",
"status": "queued",
"mode": "copy",
"failure": {
"class": "input"
}
}
]
}
}

Baking

Media typeapplication/json
object
plan
required
object
name
required
string
revision
required
integer
>= 1
goes
required
Array<object>

One lane that goes: its blocks with a take and the Timeline track they land on

object
lane
required

A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>

string
/^[A-Za-z0-9_-]{1,40}$/
name
required
string
kind
required

Video: the Shots lane on V1; the rest by their lane’s role (audio: a free lane’s sound)

string
Allowed values: video voice music sound audio
blocks
required
integer
track
required

The track as the Timeline names it: V1, A2, A3, …

string
linked
required

Blocks linked to their shot

integer
joins
required
Array<object>
object
transition
required

A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>

string
/^[A-Za-z0-9_-]{1,40}$/
kind
required
string
Allowed values: dissolve fade wipe morph fade_in fade_out crossfade
how
required

Kept: the Timeline’s own dissolve; baked: a bake job’s clip; clip: a morph’s take as its own clip; cut: sent as a cut (why in the warnings); skipped: not sent; fades: a sound lane’s fade in or out as its first or last block’s clip’s fade

string
Allowed values: kept baked clip cut skipped crossfade fades
effects
required

Each effect badge on a shot that goes (off ones are left out)

Array<object>
object
block
required

A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>

string
/^[A-Za-z0-9_-]{1,40}$/
name
required
string
how
required
string
Allowed values: baked skipped
warnings
required

What the sequence will lack or differ in (Shot 3 has no take: a gap, Shot 3 is out of date: sends take 2 as it is)

Array<string>
bakes
required

How many bake jobs it needs

integer
bake_seconds
required

Their estimate in seconds (null: no bakes)

number | null
host
required

The host that would bake (null: no bakes, or no live host)

string | null
send

Absent on a dry run

object
id
required
string format: uuid
name
required
string
revision
required

The board revision it was sent from (kept while the send is listed)

integer
>= 1
status
required
string
Allowed values: baking done failed
timeline_id
required

Done: the new sequence

string | null format: uuid
timeline_gone

The sequence was deleted since

boolean
bakes
required
integer
baked
required
integer
jobs

Its bake jobs (in the send’s own answer)

Array<object>
object
id
required
string format: uuid
kind
required

Mux: Save with the video (POST /v1/studio/takes/{take_id}/mux)

string
Allowed values: export frame mux bake
status
required
string
Allowed values: queued running succeeded failed cancelled
host
required
string
env
required
string
timeline_id
required

Export: the sequence

string | null format: uuid
revision
required

Export: the revision exported

integer | null
>= 1
source_take_id
required

Frame: the video take

string | null format: uuid
video_take_id

Mux only (absent otherwise): the video take whose picture it keeps

string | null format: uuid
send_id

Bake only (absent otherwise): the Magic send it bakes for

string | null format: uuid
mode
required

Export: what was planned (copy = picture stream copy); once it ended, what the runner did (copy can fall back to conform)

string | null
Allowed values: copy conform
reason

Export: why the runner fell back to conform; null otherwise

string | null
progress
required
One of:
object
frames
required
integer
total
required
integer
>= 1
take_id
required

Succeeded: the take it made

string | null format: uuid
failure
required
One of:
object
class
required

Host_lost: its host stopped responding; export again: another live host is chosen

string
Allowed values: input invalid ffmpeg verify internal host_lost
detail
required
string
created_at
required
string format: date-time
started_at
required
string | null format: date-time
finished_at
required
string | null format: date-time
failure
required

Failed: why (a bake failed, or the 100 sequences were reached meanwhile)

string | null
made_at
required
string format: date-time

Example

{
"plan": {
"goes": [
{
"kind": "video"
}
],
"joins": [
{
"kind": "dissolve",
"how": "kept"
}
],
"effects": [
{
"how": "baked"
}
]
},
"send": {
"status": "baking",
"jobs": [
{
"kind": "export",
"status": "queued",
"mode": "copy",
"failure": {
"class": "input"
}
}
]
}
}

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"
}

The resource’s state forbids this

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Invalid input

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Retryable

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}