#304 — current plan + overrides + audit trail for a workspace
GET
/api/v1/admin/workspaces/{id}/billing
const url = 'https://example.com/api/v1/admin/workspaces/example/billing';const options = {method: 'GET', 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 GET \ --url https://example.com/api/v1/admin/workspaces/example/billing \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Workspace id