Finish Run
Finish a claimed local run (POST /runs/:run_id/finish). outcome='completed' stores document (and optional verification) as the seat's own build artifacts under EXACTLY the artifact_paths the fan-out named for this seat, hashes them into build_ref, and finishes the run -- this mints a real task_completions row and a SIGNED TASCAN RECEIPT for your work (tascan_get_receipt), the same as any other build; document is your deliverable and IS what gets hashed, so send the real content, not a summary. Zero changes to coord_fanout_settle / the barrier / the roll-up -- your completion releases the next held seat and, once every seat settles, feeds the fan-out's own synthesizer and rollup exactly like a cloud research seat's would. outcome='failed' finishes the run failed with your error text and stores nothing. Requires agent:dispatch:code. A run outside your org, or already finished, is refused (404 / the RPC's own not_live).
Request
- Base URL: https://app.tascan.io/api/v1
- URL: https://app.tascan.io/api/v1/runs/{id}/finish
- Auth: HTTP bearer
Path parameters
Request body
Response
Success. JSON body: { data: ... } or an error object { error, message }.
Changes
No recorded changes to this operation across all 1 revision of this API.