Skip to content
helmstudio
Contents

inbox

GET /inbox

Handoffs to the caller not yet consumed, oldest first.

Q22. Reading does not consume. An entry whose item has since been deleted is still listed, with `item` null.

Needs the gallery capability.

GoList(ctx context.Context, params *InboxListParams) (*InboxPage, error)
Pythondef list(self, *, limit: Optional[Any] = None, cursor: Optional[Any] = None) -> Any
JavaScriptlist(params = {})
ParameterInTypeAbout
limitqueryinteger
cursorquerystringThe `next_cursor` of the previous page, unchanged.
StatusBodyMeans
200InboxPageA page of pending entries.
400ErrorThe request is malformed. Codes: `bad_request`, `bad_filter`, `bad_cursor`, `invalid_document`.
401ErrorNo studio token, or a revoked or unknown one. Code `unauthenticated`.
403ErrorThe token lacks a capability (`capability_required`, with `details.capability`), the job is not a task the studio may change (`not_a_task`), or the request came from another origin (`bad_origin`).

POST /inbox/{id}:consume

Mark an entry handled. Idempotent.

Q22. A consumed entry leaves the list. Consuming it again is 204. Another studio's entry is 404.

Needs the gallery capability.

GoConsume(ctx context.Context, id string) error
Pythondef consume(self, id: str) -> Any
JavaScriptconsume(id)
ParameterInTypeAbout
idpath · requiredULID
StatusBodyMeans
204Consumed.
401ErrorNo studio token, or a revoked or unknown one. Code `unauthenticated`.
403ErrorThe token lacks a capability (`capability_required`, with `details.capability`), the job is not a task the studio may change (`not_a_task`), or the request came from another origin (`bad_origin`).
404ErrorAbsent, deleted, or not the caller's to see. Code `not_found`.