Keep a run in the product
Promotes a temporary run into your workspace so it stops being temporary.
Keeping a run moves its files and outputs into a real space, re-indexes them for search, imports definition-bound extraction results as records, and clears the TTL — expiresAt becomes null.
Two ways to name the destination:
{ "spaceId": "spc_01JQ8ZKMRT4V6WXYZ0ABCDEFGH" }
{ "space": { "name": "Q3 invoices" } }
The response carries dashboardUrl — the space as a person would open it.
Note: Keeping is idempotent for the same space, but keeping into a different space answers
409 already_kept. A run that is still going answers409 pipeline_running— wait for the run to finish first.
POST
https://api.cloudraker.com/v1/runs/{id}/keep