Tenancy
Show a month's spend for each project, split into operator-funded and organization-funded
GET /v1/organizations/{id}/spend/projects · SDK getOrganizationProjectSpend · CLI deployments org project-spend
GET
Requires organizations:read.
platformBearerheader
AuthorizationBearer <token>Platform bearer credential accepted as an opaque API key or JWT.
id*stringMatch
^[0-7][0-9A-HJKMNP-TV-Z]{25}$month?stringUTC calendar month as YYYY-MM, no later than the current month. Default: the current month.
Match
^\d{4}-(?:0[1-9]|1[0-2])$x-deployments-organization*stringMatch
^[0-7][0-9A-HJKMNP-TV-Z]{25}$OrganizationProjectSpendResponse
application/json- response
asOf*stringMatch
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$Format
date-timeitems*array<>Every project of the organization, archived ones included, with its spend in the month.
month*stringThe UTC calendar month, as YYYY-MM.
Match
^\d{4}-(?:0[1-9]|1[0-2])$organizationId*stringMatch
^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$periodStart*stringMatch
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$Format
date-timecurl -X GET "https://example.com/v1/organizations/string/spend/projects" \ -H "x-deployments-organization: string"{ "asOf": "2019-08-24T14:15:22Z", "items": [ { "operatorFundedUsdMicros": 0, "organizationFundedUsdMicros": 0, "totalUsdMicros": 0, "projectId": "string" } ], "month": "string", "organizationId": "string", "periodStart": "2019-08-24T14:15:22Z"}