Mint Ticket
POST
/api/v1/projects/{project_id}/run/dashboard/ticket
const url = 'https://aura-api-eu.strangeworks.com/api/v1/projects/example/run/dashboard/ticket';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://aura-api-eu.strangeworks.com/api/v1/projects/example/run/dashboard/ticket \ --header 'Authorization: Bearer <token>'Exchange real credentials for a view ticket and the path to open with it.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”project_id
required
Project Id
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
DashboardTicketResponse
A freshly minted view ticket and where to point a browser with it.
path is relative to the API origin the caller already knows, so the
response never has to guess which public hostname the caller reached us by.
object
expires_at
required
Expires At
string format: date-time
path
required
Path
string
ticket
required
Ticket
string
Examplegenerated
{ "expires_at": "2026-04-15T12:00:00Z", "path": "example", "ticket": "example"}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}