app-gateway

Mint a per-user app session token for a login-required deep-agent artifact

Mints a per-user app token for the signed-in viewer opening a login-required deep-agent artifact. Authed as the b3 user; the viewer's id + active org come from the auth context, not the body. The server resolves the artifact's org from the :appId (deep-agent run id), verifies the workflow is in it and the viewer is acting within it, then signs a token carrying the viewer's id.

post/v1/app-gateway/{appId}/session

Path parameters

appIdstring required

Deep-agent run id (app id)

Request body

object required
OR

Response

OK

expstring
tokenstring

Changes

No recorded changes to this endpoint across all 1 revision of this API.