Skip to content
BrainyShorts Docs
Esc
navigateopen⌘Jpreview

Complete a run media upload

PATCH/api/agent/runs/{id}/media/uploads
Authorization
AuthorizationBearer token (ba_run_...) · headerrequired

Per-run token returned by start, valid for 6 hours and bound to one run.

Path parameters
idstringrequired

Run id

Request body
requiredapplication/json
asset_idstring<uuid>required
Responses
200

OK

object
401

RUN_TOKEN_REQUIRED

errorstringrequired
codestring
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PATCH "https://www.brainyshorts.com/api/agent/runs/string/media/uploads" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4"
}'
Response
{}