Human-in-the-Loop
Preview URL
Changed onGenerates a preview URL for a port exposed by the run's sandbox environment.
post/api/v1/runs/{id}/preview
Request
- The document declares no server URL.
- Auth
- HTTP bearer
- or API key in cookie __fabro_session
Path parameters
idstring required
Unique run identifier (ULID).
Request body
Example request
{
"port": 3000,
"expires_in_secs": 3600
}Response
Preview URL created
Example response
{
"url": "https://preview.example.com/sb-a1b2c3d4/3000",
"token": "preview-token-123"
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info