AI Chat

Renew a managed preview only for an already-bound, running workspace. The requested sandbox ID is an object selector, never an authorization grant.

Changed on
post/ai/preview/authorize

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

pathstring nullable
portinteger required
sandbox_public_idstring required

Response

expires_atstring date-time required

When the link stops working, ISO 8601 in UTC.

urlstring required

A short-lived authenticated URL. Its fragment carries the grant and never reaches the development server or referrer headers.

Changes