40 endpoints · Overview
curl "https://side.space/v1/openapi.yaml"200curl "https://side.space/v1/operations.json"{}200curl "https://side.space/v1/llms-full.txt"200itemsTokenInfo[]requiredidstringrequirednamestringrequiredprefixstringrequiredidstringrequiredemailstringrequireddisplay_namestringrequiredkindstringrequiredhumanagentscopesstring[]requiredspace_idsstring[] | nullrequireddrive_idsstring[] | nullexpires_atTimestamp | anyrequiredlast_used_atTimestamp | anyrequiredrevoked_atTimestamp | anyrequireds3_access_key_idstringapp_idstringparent_idstringcurl "https://side.space/v1/tokens" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"{
"items": [
{
"id": "id",
"name": "A001_C003.mov",
"prefix": "prefix",
"user": {},
"scopes": [],
"space_ids": [],
"drive_ids": [],
"expires_at": "2026-11-14T09:30:00Z",
"last_used_at": "2026-11-14T09:30:00Z",
"created_at": "2026-11-14T09:30:00Z",
"revoked_at": "2026-11-14T09:30:00Z",
"s3_access_key_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"app_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"parent_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S"
}
]
}namestringrequiredscopesstring[]requiredspace_idsstring[]drive_idsstring[]expires_in_daysintegeragent_idstrings3boolean201tokenstringrequiredidstringrequirednamestringrequiredprefixstringrequiredidstringrequiredemailstringrequireddisplay_namestringrequiredkindstringrequiredhumanagentscopesstring[]requiredspace_idsstring[] | nullrequireddrive_idsstring[] | nullexpires_atTimestamp | anyrequiredlast_used_atTimestamp | anyrequiredrevoked_atTimestamp | anyrequireds3_access_key_idstringapp_idstringparent_idstrings3_access_key_idstringcurl -X POST "https://side.space/v1/tokens" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"A001_C003.mov","scopes":["scope"]}'{
"token": "token",
"info": {
"id": "id",
"name": "A001_C003.mov",
"prefix": "prefix",
"user": {},
"scopes": [
"scope"
],
"space_ids": [
"spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C"
],
"drive_ids": [
"nod_01JD7Q3A5C7E9G1J3K5M7P9R2S"
],
"expires_at": "2026-11-14T09:30:00Z",
"last_used_at": "2026-11-14T09:30:00Z",
"created_at": "2026-11-14T09:30:00Z",
"revoked_at": "2026-11-14T09:30:00Z",
"s3_access_key_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"app_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"parent_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S"
},
"s3_access_key_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S"
}idstringrequired204curl -X DELETE "https://side.space/v1/tokens/id" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"curl "https://side.space/v1/token" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"{
"id": "id",
"name": "A001_C003.mov",
"prefix": "prefix",
"user": {
"id": "id",
"email": "mei@studio.example",
"display_name": "display_name",
"kind": "human"
},
"scopes": [
"scope"
],
"space_ids": [
"spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C"
],
"drive_ids": [
"nod_01JD7Q3A5C7E9G1J3K5M7P9R2S"
],
"expires_at": "2026-11-14T09:30:00Z",
"last_used_at": "2026-11-14T09:30:00Z",
"created_at": "2026-11-14T09:30:00Z",
"revoked_at": "2026-11-14T09:30:00Z",
"s3_access_key_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"app_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"parent_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S"
}namestringrequiredscopesstring[]space_idsstring[]drive_idsstring[]expires_in_secondsintegers3boolean201tokenstringrequiredidstringrequirednamestringrequiredprefixstringrequiredidstringrequiredemailstringrequireddisplay_namestringrequiredkindstringrequiredhumanagentscopesstring[]requiredspace_idsstring[] | nullrequireddrive_idsstring[] | nullexpires_atTimestamp | anyrequiredlast_used_atTimestamp | anyrequiredrevoked_atTimestamp | anyrequireds3_access_key_idstringapp_idstringparent_idstrings3_access_key_idstringcurl -X POST "https://side.space/v1/token/derive" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"A001_C003.mov"}'{
"token": "token",
"info": {
"id": "id",
"name": "A001_C003.mov",
"prefix": "prefix",
"user": {},
"scopes": [
"scope"
],
"space_ids": [
"spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C"
],
"drive_ids": [
"nod_01JD7Q3A5C7E9G1J3K5M7P9R2S"
],
"expires_at": "2026-11-14T09:30:00Z",
"last_used_at": "2026-11-14T09:30:00Z",
"created_at": "2026-11-14T09:30:00Z",
"revoked_at": "2026-11-14T09:30:00Z",
"s3_access_key_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"app_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"parent_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S"
},
"s3_access_key_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S"
}200itemsTokenInfo[]requiredidstringrequirednamestringrequiredprefixstringrequiredidstringrequiredemailstringrequireddisplay_namestringrequiredkindstringrequiredhumanagentscopesstring[]requiredspace_idsstring[] | nullrequireddrive_idsstring[] | nullexpires_atTimestamp | anyrequiredlast_used_atTimestamp | anyrequiredrevoked_atTimestamp | anyrequireds3_access_key_idstringapp_idstringparent_idstringcurl "https://side.space/v1/token/derived" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"{
"items": [
{
"id": "id",
"name": "A001_C003.mov",
"prefix": "prefix",
"user": {},
"scopes": [],
"space_ids": [],
"drive_ids": [],
"expires_at": "2026-11-14T09:30:00Z",
"last_used_at": "2026-11-14T09:30:00Z",
"created_at": "2026-11-14T09:30:00Z",
"revoked_at": "2026-11-14T09:30:00Z",
"s3_access_key_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"app_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"parent_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S"
}
]
}idstringrequired204curl -X DELETE "https://side.space/v1/token/derived/id" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"sidstringrequired200itemsWebhook[]requiredidstringrequiredspace_idstringrequiredcreated_bystringrequiredurlstringrequiredeventsstring[]requiredpath_globstringrequiredmime_prefixstringrequireddescriptionstringrequiredactivebooleanrequireddisabled_reasonstring | nullcursor_seqintegerrequiredattemptsintegerrequiredfailing_sinceTimestamp | anylast_errorstring | nullcurl "https://side.space/v1/spaces/spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C/webhooks" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"{
"items": [
{
"id": "id",
"space_id": "spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C",
"created_by": "created_by",
"url": "https://hooks.example.com/side",
"events": [],
"path_glob": "path_glob",
"mime_prefix": "mime_prefix",
"description": "description",
"active": false,
"disabled_reason": "disabled_reason",
"cursor_seq": 1,
"attempts": 1,
"failing_since": "2026-11-14T09:30:00Z",
"last_error": "last_error",
"created_at": "2026-11-14T09:30:00Z"
}
]
}sidstringrequiredurlstringeventsstring[]path_globstringmime_prefixstringdescriptionstringactivebooleanfrom_seqinteger201idstringrequiredspace_idstringrequiredcreated_bystringrequiredurlstringrequiredeventsstring[]requiredpath_globstringrequiredmime_prefixstringrequireddescriptionstringrequiredactivebooleanrequireddisabled_reasonstring | nullcursor_seqintegerrequiredattemptsintegerrequiredfailing_sinceTimestamp | anylast_errorstring | nullsecretstringrequiredcurl -X POST "https://side.space/v1/spaces/spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C/webhooks" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"url":"https://hooks.example.com/side","events":["event"],"path_glob":"path_glob"}'{
"id": "id",
"space_id": "spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C",
"created_by": "created_by",
"url": "https://hooks.example.com/side",
"events": [
"event"
],
"path_glob": "path_glob",
"mime_prefix": "mime_prefix",
"description": "description",
"active": false,
"disabled_reason": "disabled_reason",
"cursor_seq": 1,
"attempts": 1,
"failing_since": "2026-11-14T09:30:00Z",
"last_error": "last_error",
"created_at": "2026-11-14T09:30:00Z",
"secret": "secret"
}sidstringrequiredwidstringrequiredurlstringeventsstring[]path_globstringmime_prefixstringdescriptionstringactivebooleanfrom_seqintegercurl -X PATCH "https://side.space/v1/spaces/spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C/webhooks/wid" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"url":"https://hooks.example.com/side","events":["event"],"path_glob":"path_glob"}'{
"id": "id",
"space_id": "spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C",
"created_by": "created_by",
"url": "https://hooks.example.com/side",
"events": [
"event"
],
"path_glob": "path_glob",
"mime_prefix": "mime_prefix",
"description": "description",
"active": false,
"disabled_reason": "disabled_reason",
"cursor_seq": 1,
"attempts": 1,
"failing_since": "2026-11-14T09:30:00Z",
"last_error": "last_error",
"created_at": "2026-11-14T09:30:00Z"
}sidstringrequiredwidstringrequired204curl -X DELETE "https://side.space/v1/spaces/spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C/webhooks/wid" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"sidstringrequiredwidstringrequiredcurl -X POST "https://side.space/v1/spaces/spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C/webhooks/wid/ping" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"{
"id": 1,
"event_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"event_type": "event_type",
"seq": 3,
"attempt": 1,
"status": 1,
"error": "error",
"duration_ms": 83500,
"created_at": "2026-11-14T09:30:00Z"
}sidstringrequiredwidstringrequiredfrom_seqintegerrequiredcurl -X POST "https://side.space/v1/spaces/spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C/webhooks/wid/replay" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"from_seq":1}'{
"id": "id",
"space_id": "spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C",
"created_by": "created_by",
"url": "https://hooks.example.com/side",
"events": [
"event"
],
"path_glob": "path_glob",
"mime_prefix": "mime_prefix",
"description": "description",
"active": false,
"disabled_reason": "disabled_reason",
"cursor_seq": 1,
"attempts": 1,
"failing_since": "2026-11-14T09:30:00Z",
"last_error": "last_error",
"created_at": "2026-11-14T09:30:00Z"
}sidstringrequiredwidstringrequiredlimitinteger200itemsWebhookDelivery[]requiredidintegerrequiredevent_idstringrequiredevent_typestringrequiredseqinteger | nullattemptintegerrequiredstatusinteger | nullerrorstring | nullduration_msintegerrequiredcurl "https://side.space/v1/spaces/spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C/webhooks/wid/deliveries" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"{
"items": [
{
"id": 1,
"event_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"event_type": "event_type",
"seq": 3,
"attempt": 1,
"status": 1,
"error": "error",
"duration_ms": 83500,
"created_at": "2026-11-14T09:30:00Z"
}
]
}Live files whose current version lacks the result of an action the workspace's AI Automation has on: no sidecar the action writes, and no run of that action on that version that is waiting, queued, running, done or failed (a failed one is for a person to run again). Only files of a type the action takes; side.transcribe only files with sound (the media probe found an audio track). Old files are included. A device starts runs for what it takes with POST /v1/spaces/{sid}/runs (priority auto, automatic work, or now for what someone waits for; one already live is joined) and claims them. Empty, with devices_allowed false, when the drive's AI work is done on the server only or the workspace does not let members' devices do it. One page looks at 2000 files at most, so it may have fewer items than limit and still have a next_cursor. docs/design/ai-automation.md 3
sidstringrequiredactionsstringversion_idsstringlimitintegercursorstringcurl "https://side.space/v1/spaces/spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C/ai/missing" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"{
"items": [
{
"node_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"version_id": "ver_01JD7Q4B6D8F0H2J4L6N8Q0S3T",
"path": "Ep01/Shots/A001_C003.mov",
"mime": "video/quicktime",
"size": 734003200,
"created_at": "2026-11-14T09:30:00Z",
"actions": []
}
],
"actions": [
"action"
],
"devices_allowed": false,
"next_cursor": "next_cursor"
}sidstringrequiredcurl "https://side.space/v1/spaces/spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C/ai" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"{
"space_id": "spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C",
"workspace_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"where": "auto",
"member_devices": false,
"backends": {
"key": "string"
},
"devices": [
{}
],
"waiting": 1
}sidstringrequiredautodeviceservercurl -X PATCH "https://side.space/v1/spaces/spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C/ai" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"where":"auto"}'{
"space_id": "spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C",
"workspace_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"where": "auto",
"member_devices": false,
"backends": {
"key": "string"
},
"devices": [
{}
],
"waiting": 1
}widstringrequiredcurl "https://side.space/v1/workspaces/wid/ai" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"{
"workspace_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"member_devices": false,
"backends": {
"key": "string"
},
"embed_model": "embed_model",
"embed_next": "embed_next"
}widstringrequiredmember_devicesbooleanbackendsmap<string, string>embed_modelstringcurl -X PATCH "https://side.space/v1/workspaces/wid/ai" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"member_devices":false,"backends":{"key":"string"},"embed_model":"embed_model"}'{
"workspace_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"member_devices": false,
"backends": {
"key": "string"
},
"embed_model": "embed_model",
"embed_next": "embed_next"
}One item per action devices may do (GET /v1/runs/device-actions, without side.embed, which the search index starts itself). An action no admin has set has the default: side.ocr, side.doctext, side.sound, side.capture and side.transcribe (only files with sound) on, the rest off. The server starts nothing from it: members' devices that help pull the files lacking a result (GET /v1/spaces/{sid}/ai/missing), start runs for them and claim them; results are the workspace's. docs/design/ai-automation.md 3
widstringrequiredcurl "https://side.space/v1/workspaces/wid/automation" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"{
"items": [
{}
],
"updated_at": "2026-11-14T09:30:00Z",
"updated_by": "updated_by"
}Devices pick it up on their next pull; files already in the drives count too.
widstringrequireditemsobject[]requiredactionstringrequiredonbooleanrequiredcurl -X PATCH "https://side.space/v1/workspaces/wid/automation" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"items":[{"action":"action","on":false}]}'{
"items": [
{}
],
"updated_at": "2026-11-14T09:30:00Z",
"updated_by": "updated_by"
}Built-in ones (from the x-facets of proto/sidecar), plugin ones, and the workspace's own (origin custom: values in the fields sidecar, filtered as f.
widstringrequired200itemsFacetDef[]idstringrequiredworkspace_idstringkeystringrequiredoriginstringrequiredbuiltinplugincustomnamespacestringrequiredpathstringrequiredtypestringrequiredkeywordkeywordsenumnumberdatebooloptionsobjectlabelmap<string, string>requiredpositionintegerrequiredcurl "https://side.space/v1/workspaces/wid/fields" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"{
"items": [
{
"id": "id",
"workspace_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"key": "key",
"origin": "builtin",
"namespace": "x-acme.qc",
"path": "Ep01/Shots/A001_C003.mov",
"type": "keyword",
"options": {},
"label": {
"key": "string"
},
"position": 1
}
]
}widstringrequiredkeystringtypestringkeywordkeywordsenumnumberdateboollabelmap<string, string>optionsobjectpositionintegercurl -X POST "https://side.space/v1/workspaces/wid/fields" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key":"key","type":"keyword","label":{"key":"string"}}'{
"id": "id",
"workspace_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"key": "key",
"origin": "builtin",
"namespace": "x-acme.qc",
"path": "Ep01/Shots/A001_C003.mov",
"type": "keyword",
"options": {},
"label": {
"key": "string"
},
"position": 1
}widstringrequiredkeystringrequiredkeystringtypestringkeywordkeywordsenumnumberdateboollabelmap<string, string>optionsobjectpositionintegercurl -X PATCH "https://side.space/v1/workspaces/wid/fields/key" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key":"key","type":"keyword","label":{"key":"string"}}'{
"id": "id",
"workspace_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"key": "key",
"origin": "builtin",
"namespace": "x-acme.qc",
"path": "Ep01/Shots/A001_C003.mov",
"type": "keyword",
"options": {},
"label": {
"key": "string"
},
"position": 1
}widstringrequiredkeystringrequired204curl -X DELETE "https://side.space/v1/workspaces/wid/fields/key" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"The spellings the workspace keeps, with the ones folded into each, and the tags files in its drives have, most used first. Folding is done in the index; sidecars keep what was written (library-and-search.md 3.5)
widstringrequired200itemsTagTerm[]termstringrequiredaliasesstring[]requiredfilesintegerrequiredkeptbooleanrequiredpeopleintegercolorstringcurl "https://side.space/v1/workspaces/wid/tags" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"{
"items": [
{
"term": "term",
"aliases": [],
"files": 1,
"kept": false,
"people": 1,
"color": "color"
}
]
}widstringrequiredtermstringrequiredaliasesstring[]curl -X PUT "https://side.space/v1/workspaces/wid/tags/term" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"aliases":["aliase"]}'{
"term": "term",
"aliases": [
"aliase"
],
"files": 1,
"kept": false,
"people": 1,
"color": "color"
}widstringrequiredtermstringrequiredcolorstringcurl -X PATCH "https://side.space/v1/workspaces/wid/tags/term" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"color":"color"}'{
"term": "term",
"aliases": [
"aliase"
],
"files": 1,
"kept": false,
"people": 1,
"color": "color"
}widstringrequiredtermstringrequired204curl -X DELETE "https://side.space/v1/workspaces/wid/tags/term" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"The tag and the spellings folded into it come off people's tags and the AI's are hidden, in each file's user sidecar (up to 5000 files); the workspace stops keeping it. The answer is what to send to /tags/restore to put it all back.
widstringrequiredtermstringrequiredcurl -X POST "https://side.space/v1/workspaces/wid/tags/term/remove" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"{
"term": "term",
"aliases": [
"aliase"
],
"color": "color",
"kept": false,
"failed": 1,
"files": [
{
"space": "space",
"version": "version",
"tags": [],
"hidden": []
}
]
}widstringrequiredtermstringrequiredaliasesstring[]requiredcolorstringkeptbooleanrequiredfailedintegerrequiredfilesobject[]requiredspacestringrequiredversionstringrequiredtagsstring[]hiddenstring[]204curl -X POST "https://side.space/v1/workspaces/wid/tags/restore" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"term":"term","aliases":["aliase"],"kept":false,"failed":1,"files":[{"space":"space","version":"version"}]}'widstringrequiredfromstring[]requiredintostringrequiredcurl -X POST "https://side.space/v1/workspaces/wid/tags/merge" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"from":["from"],"into":"into"}'{
"term": "term",
"aliases": [
"aliase"
],
"files": 1,
"kept": false,
"people": 1,
"color": "color"
}widstringrequiredfromstringrequiredtostringrequiredcurl -X POST "https://side.space/v1/workspaces/wid/tags/rename" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"from":"from","to":"to"}'{
"term": "term",
"aliases": [
"aliase"
],
"files": 1,
"kept": false,
"people": 1,
"color": "color"
}device. It gets runs of drives
where its person is an editor (folder rules apply), in the drives it chose, whose
workspace lets members' devices work and whose drive is not set to "server", for the
actions and backends it lists, in the classes it takes now. Best first: someone waiting,
then batches, then automatic; light before heavy; drives in turn. The other waiting runs
of the same file come along, so the file is read and decoded once. First, the runs this
device still held are taken back (it asks again only after a restart); that counts as an
attempt, and after 3 the run fails. Report on each run with its callback, as runner
plugins do: /v1/plugin-runs/{rid}/progress (at least every lease_seconds; it keeps the
hold), /upload, /complete.waitintegerdevicestringnamestringcanDeviceCapability[]requiredactionstringrequiredbackendstringrequiredversionstringspacesstring[]classesstring[]maxintegerprioritiesstring[]204curl -X POST "https://side.space/v1/runs/claim" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"can":[{}]}'{
"device": "device",
"space_id": "spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C",
"node_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"version_id": "ver_01JD7Q4B6D8F0H2J4L6N8Q0S3T",
"path": "Ep01/Shots/A001_C003.mov",
"name": "A001_C003.mov",
"mime": "video/quicktime",
"size": 734003200,
"inputs": {
"key": {
"url": "https://hooks.example.com/side",
"mime": "video/quicktime",
"size": 734003200,
"expires_at": "2026-11-14T09:30:00Z"
}
},
"sidecars": {
"key": "string"
},
"ignored": [
"ignored"
],
"lease_seconds": 1,
"runs": [
{
"run_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"action": "action",
"action_version": "action_version",
"backend": "backend",
"params": {},
"attempt": 1,
"priority": "now",
"class": "light",
"reads": [],
"writes": [],
"inputs": [],
"callback": {},
"embed": {}
}
]
}Same body and rules as /v1/runs/claim (drives, classes, priorities, actions and backends). Folder rules are not looked at, so the count may be a little higher than what a claim gets.
devicestringnamestringcanDeviceCapability[]requiredactionstringrequiredbackendstringrequiredversionstringspacesstring[]classesstring[]maxintegerprioritiesstring[]200waitingintegerrequiredwaiting_heavyintegerrequiredby_actionmap<string, integer>requiredignoredstring[]curl -X POST "https://side.space/v1/runs/waiting" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"can":[{}]}'{
"waiting": 1,
"waiting_heavy": 1,
"by_action": {
"key": 1
},
"ignored": [
"ignored"
]
}200actionsobject[]actionstringrequiredversionstringrequiredtitlestringrequiredacceptsstring[]requiredwritesstring[]requiredclassstringrequiredlightheavyreadsstring[]requiredinputsstring[]requiredparams_schemaobjectrequiredserverbooleanrequiredcurl "https://side.space/v1/runs/device-actions" \
-H "Authorization: Bearer $SIDESPACE_TOKEN"{
"actions": [
{
"action": "action",
"version": "version",
"title": "title",
"accepts": [
"accept"
],
"writes": [
"write"
],
"class": "light",
"reads": [
"read"
],
"inputs": [
"input"
],
"params_schema": {},
"server": false
}
]
}ridstringrequireddevicestringcurl -X POST "https://side.space/v1/runs/rid/release" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"device":"device"}'{
"id": "id",
"space_id": "spc_01JD7Q2M8X4V6N0R3T5W9Y1B2C",
"node_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"version_id": "ver_01JD7Q4B6D8F0H2J4L6N8Q0S3T",
"action": "action",
"action_version": "action_version",
"params": {},
"pipeline_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"requested_by": "requested_by",
"state": "queued",
"attempts": 1,
"progress": 0.5,
"error": "error",
"result": {
"sidecars": {
"key": "string"
},
"files": [
{}
]
},
"cached": false,
"created_at": "2026-11-14T09:30:00Z",
"started_at": "2026-11-14T09:30:00Z",
"finished_at": "2026-11-14T09:30:00Z",
"target": "server",
"backend": "backend",
"priority": "now",
"class": "light",
"waiting_since": "2026-11-14T09:30:00Z",
"device_id": "nod_01JD7Q3A5C7E9G1J3K5M7P9R2S",
"device": "device",
"stage": "stage",
"eta_at": "2026-11-14T09:30:00Z",
"bound_device": "bound_device"
}