sessions

Set (or autodetect) the browser preview URL for a session

post/api/v1/sessions/{sessionId}/preview

Path parameters

sessionIdstring required

Session identifier, e.g. project-1.

Session identifier, e.g. project-1.

Request body

requireWorkspaceFileboolean

Reject the target unless it resolves to an existing file in the session workspace.

urlstring

Preview target URL. When empty, the daemon autodetects a static entry point in the session workspace.

Response

OK

Changes

Changed in 27 of the 169 revisions of this API.22432

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ●

      added the new Review failed enum value to the / response property for the response status

      response-property-enum-value-added

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ▲

      the response property / became optional for the status

      response-property-became-optional

    • ○

      removed the continue enum value from the / response property for the response status

      response-property-enum-value-removed

    • ○

      removed the goose enum value from the / response property for the response status

      response-property-enum-value-removed

    • ○

      removed the qwen enum value from the / response property for the response status

      response-property-enum-value-removed

    • ○

      removed the vibe enum value from the / response property for the response status

      response-property-enum-value-removed

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added