artifacts

Create View Token

Short-lived token letting the in-app viewer iframe load a private artifact.

Cross-workspace requests get 404 (not 403) — consistent with the serve route's no-existence-oracle rule: artifact ids must not be probeable.

NOTE: artifacts live on the MAIN engine (async_session_maker) — the same one the serve route and the artifacts.* tools use — deliberately not get_workspace_session, which can route to a per-workspace engine that has no artifacts tables.

post/api/artifacts/{artifact_id}/view-token

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/artifacts/{artifact_id}/view-token
  • Auth: none declared

Path parameters

artifact_idinteger required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 6 revisions of this API.