Skip to main content
POST
Share Agent
Makes a mosaic viewable by anyone with the link, the same as the Share control in the canvas. Set duplicate: true to share a copy instead: the copy is created with the source mosaic’s completed renders and the media they reference, then published, so the original stays private and you can keep editing it. For a mosaic executed through the API, pass the run_id returned by POST /agent/{agent_id}/run once that run has finished. The shared copy will use the renders from that run, including runs that finished with only some branches producing outputs. Revoke a link with Unshare Agent, and read the current state with GET /agent/{agent_id}/share.

Request

All body fields are optional.

Body Parameters

Response

Returns 201 when a copy was created, 200 when the mosaic itself was published.