Stream Loom
Follow a Loom as Server-Sent Events: each Node of the Loom, then each Node again when its status or text changes, then [DONE] when no Node is queued or running. A running Node's text is its whole text so far, at most every 250 ms.
bearerAuthorizationBearer <token>An API key: Authorization: Bearer sk-acs-..., or a key of the old platform, acs-bm-.... A User makes and revokes keys in the App.
loom_id*string^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$uuidSuccess
text/event-stream- response
data*stringevent*"message""message"curl -X GET 'https://api.v2.infra.acsresearch.org/v1/looms/497f6eca-6276-4993-bfeb-53cbbbba6f08/stream' \ -H 'Authorization: Bearer <API_KEY>'{ "data": "string", "event": "message"}Delete Loom DELETE
Delete the Loom and all its Nodes. You cannot undo it. While a Node of the Loom is `queued` or `running`, 409 and the error object.
Cancel Loom POST
Stop each Node of the Loom that is `queued` or `running`, and answer the Loom. Each becomes `cancelled`: a running Node keeps the text it grew, and its tokens so far are charged; a queued Node never runs and holds nothing.