Projects

Mint a static app token

Changed on

Mints the short-lived viewer token that powers the shared website, for the key owner, so an app can be developed outside Deepnote against the same API the published site uses. Requires sharing and API access to be enabled on the project.

post/projects/{projectId}/static-files/app-token

Request

  • Base URL
    https://api.deepnote.com/v2
  • URL
    https://api.deepnote.com/v2/projects/{projectId}/static-files/app-token
  • Auth
    HTTP bearer

Path parameters

projectIdstring uuid required

Response

Token minted

tokenstring required

Bearer token scoped to the static app run loop: read a notebook’s inputs, start a detached run, poll it.

apiOriginstring uri required

Origin to send the token to.

expiresAtSecondsinteger required

Token expiry as a Unix timestamp in seconds.

Example response

{
  "apiOrigin": "https://api.deepnote.com"
}

Changes