The id of the workspace you are fetching information from
sessionToken*
String
A session token, as returned from one of the Action endpoints
Headers
Name
Type
Description
Accept
String
Either text/html or application/json
This changes the behavior of the endpoint in case of a successful response.
{"error":"INVALID_SESSION_TOKEN","error_message":"Invalid workspace or session token","ts":1669740566422}
{"error":"REPORT_NOT_FOUND","error_message":"The report identified by the session token was not found. Probably the report was deleted, not correctly saved from the client, or canceled by the user.","ts":1669740591980}
The success response includes a reportUrl property. ReportUrl is a string to a Bugpilot Report that you can access. It's the same URL you would see from the reports list in the dashboard.
IMPORTANT: If the HTTP Accept header includes text/html, then a successful response will redirect to the dashboard page for the report. You could, for example, open the session info URL directly in the browser, and you would be redirected to the report page.