`GET /api/workspace/error-page` -- workspace error page config.
GET
/api/workspace/error-page
const url = 'https://example.com/api/workspace/error-page';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/workspace/error-pageThe body is the freeform, user-authored error-page config blob (the same
{ "status_pages": { ... } } shape as the per-deployment cascade) or JSON
null when the workspace has no config – intentionally a freeform object.
Responses
Section titled “Responses”Freeform workspace error-page config object, or null
Media typeapplication/json
Examplegenerated
example