Approve a video's pilot
approve_pilot, in Changes: A connection or key that may make changes. None spends credits; prepare_* and stage tools (research, brainstorm, write_script, review, generate_clip, voice, storyboard) prepare paid work for confirm_spend.
POST
Approve the pilot a video waits for you to watch (get_video's waitingOnYou, kind pilot): its first batch of clips, made and reviewed before the rest, naming its run and revision; the rest of its clips are made, within the price already agreed. A newer pilot is refused: watch it first. A note on it is sent in the studio; stop_video ends the video here.
apiKeyheader
AuthorizationBearer <token>An API key (prb_…) from Settings → Connections.
application/json- body
videoId*stringFormat
uuidrunId*stringFormat
uuidrevisionId*stringFormat
uuidThe tool's answer.
application/json- response
status*stringcurl -X POST 'https://probably.co/api/v1/tools/approve_pilot' \ -H "Authorization: Bearer $PROBABLY_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "videoId": "3524e86f-1bba-489a-bf6b-386ea1abbac0", "runId": "78c33d18-170c-44d3-a227-b3194f134f73", "revisionId": "bae12d01-48af-47b3-9304-b09ef0081cd6"}'{ "status": "approved"}