Menu QaldyDocs

billing

14 routes, from the API’s own OpenAPI document.

14 routes. Every path starts at https://cloud-api.qaldy.com. Sign-in, tokens, errors and limits are on the overview.

Routes

MethodPathWhat it does
GET/​v1/​workspaces/​{ws}/​billingInvoices and acts in tenge: your company details, the seller, the documents (admins; MOCK billing)
GET/​v1/​workspaces/​{ws}/​billing/​changesWhy did my bill change: this month so far against the same days of last month, by meter, app and automation (MOCK billing)
POST/​v1/​workspaces/​{ws}/​billing/​documentsIssue an invoice or an act for a month: next number, frozen lines, VAT and customer (admins)
GET/​v1/​workspaces/​{ws}/​billing/​documents/​{documentId}One invoice or act, as issued (admins)
PUT/​v1/​workspaces/​{ws}/​billing/​documents/​{documentId}/​paidMark an invoice paid by hand: a date and a bank or Kaspi reference (admins)
DELETE/​v1/​workspaces/​{ws}/​billing/​documents/​{documentId}/​paidUndo a paid mark made by mistake (admins)
POST/​v1/​workspaces/​{ws}/​billing/​documents/​{documentId}/​voidVoid a document with a reason. Its number stays used (admins)
GET/​v1/​workspaces/​{ws}/​billing/​price-tagsWhat each app and automation you can open uses this month, at add-on list prices (MOCK billing)
PUT/​v1/​workspaces/​{ws}/​billing/​profileSet the company details printed on invoices and acts: name, BIN or IIN, address
GET/​v1/​workspaces/​{ws}/​billing/​quoteWhat an invoice or an act for a month would say, before it is issued
POST/​v1/​workspaces/​{ws}/​billing/​quoteBefore switching a schedule on: how many runs it takes and what that does to the month (read-only)
GET/​v1/​workspaces/​{ws}/​budgetsBudgets under the workspace cap: admins see all of them, a member sees the ones set on them
PUT/​v1/​workspaces/​{ws}/​budgetsSet the budget on an app, automation, agent token or member (admins; creates or changes it)
DELETE/​v1/​workspaces/​{ws}/​budgets/​{budgetId}Remove a budget (admins)

Reference

GET /v1/workspaces/{ws}/billing

Invoices and acts in tenge: your company details, the seller, the documents (admins; MOCK billing).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: member (details and documents: admin)
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Response 200

FieldTypeRequiredNotes
workspaceIdstringyesat least 1 characters
profileobject or nullyes
profile.legalNamestringyes1 to 200 characters
profile.binIinstringyes
profile.addressstringyes1 to 300 characters
profile.emailstring (email) or nullyesup to 200 characters
profile.contractRefstring or nullyes1 to 160 characters
profile.vatPayerbooleanyes
profile.language"en" · "ru" · "kk"yes
profile.updatedAtstring (date-time)yes
sellerobjectyes
seller.configuredbooleanyes
seller.legalNamestring or nullyes
seller.vatobjectyes
seller.vatCheckedbooleanyes
plan"free" · "maker" · "team" · "business" · "sovereign"yes
currency"KZT"yes
workspaceCurrency"EUR" · "USD" · "KZT"yes
canEditbooleanyes
newestInvoicePeriodstringyes
newestActPeriodstringyes
oldestPeriodstringyes
documentsobject[]yes
documents[].idstringyesat least 1 characters
documents[].kind"invoice" · "act"yes
documents[].numberstringyesat least 1 characters
documents[].periodstringyes
documents[].issuedOnstring (date)yes
documents[].status"issued" · "paid" · "void"yes
documents[].relatedNumberstring or nullyes

…and 5 more fields. The full schema is in openapi.json.

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

GET /v1/workspaces/{ws}/billing/changes

Why did my bill change: this month so far against the same days of last month, by meter, app and automation (MOCK billing).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: member
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters
limitqueryinteger1 to 50. default 8

Response 200

FieldTypeRequiredNotes
workspaceIdstringyesat least 1 characters
currency"EUR" · "USD" · "KZT"yes
windowobjectyes
window.thisStartstring (date-time)yes
window.thisEndstring (date-time)yes
window.lastStartstring (date-time)yes
window.lastEndstring (date-time)yes
window.daysintegeryes1 to 31
billobject or nullyes
bill.currency"EUR" · "USD" · "KZT"yes
bill.lastobjectyes
bill.nowobjectyes
bill.deltaobjectyes
bill.causesobject[]yes
bill.unchangedbooleanyes
unitsobject[]yes
units[].unit"runs" · "ai_credits" · "requests"yes
units[].nownumberyesat least 0
units[].beforenumberyesat least 0
units[].lastMonthnumberyesat least 0
units[].changenumberyes
units[].changePctnumber or nullyes
units[].basis"counted" · "lower_bound" · "builds_only"yes
moversobject[]yes
movers[].kind"app" · "automation"yes
movers[].idstringyesat least 1 characters
movers[].namestringyesat least 1 characters
movers[].appIdstring or nullyes
movers[].unit"runs" · "ai_credits"yes
movers[].nownumberyesat least 0

…and 7 more fields. The full schema is in openapi.json.

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

POST /v1/workspaces/{ws}/billing/documents

Issue an invoice or an act for a month: next number, frozen lines, VAT and customer (admins).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: admin
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Request body (application/json)

FieldTypeRequiredNotes
kind"invoice" · "act"yes
periodstringyes
language"en" · "ru" · "kk"
idempotencyKeystring8 to 128 characters

Response 200

FieldTypeRequiredNotes
idstringyesat least 1 characters
workspaceIdstringyesat least 1 characters
kind"invoice" · "act"yes
numberstringyesat least 1 characters
seqintegeryesat least 1
yearintegeryesat least 2000
periodstringyes
periodStartstring (date)yes
periodEndstring (date)yes
issuedOnstring (date)yes
issuedAtstring (date-time)yes
currency"KZT"yes
plan"free" · "maker" · "team" · "business" · "sovereign"yes
linesobject[]yesup to 40 items
lines[].kind"plan" · "add_on"yes
lines[].refstringyes1 to 40 characters
lines[].qtyintegeryes1 to 100000
lines[].unitMinorintegeryes0 to 1000000000
lines[].amountMinorintegeryes0 to 1000000000
vatobjectyes
vat.mode"none" · "excluded" · "included"yes
vat.rateBpintegeryes0 to 5000
totalsobjectyes
totals.netMinorintegeryes0 to 1000000000
totals.vatMinorintegeryes0 to 1000000000
totals.grossMinorintegeryes0 to 2147483647
customerobjectyes
customer.legalNamestringyes1 to 200 characters
customer.binIinstringyes
customer.addressstringyes1 to 300 characters

…and 13 more fields. The full schema is in openapi.json.

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

GET /v1/workspaces/{ws}/billing/documents/{documentId}

One invoice or act, as issued (admins).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: admin
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters
documentIdpathstringyes1 to 64 characters

Response 200

FieldTypeRequiredNotes
idstringyesat least 1 characters
workspaceIdstringyesat least 1 characters
kind"invoice" · "act"yes
numberstringyesat least 1 characters
seqintegeryesat least 1
yearintegeryesat least 2000
periodstringyes
periodStartstring (date)yes
periodEndstring (date)yes
issuedOnstring (date)yes
issuedAtstring (date-time)yes
currency"KZT"yes
plan"free" · "maker" · "team" · "business" · "sovereign"yes
linesobject[]yesup to 40 items
lines[].kind"plan" · "add_on"yes
lines[].refstringyes1 to 40 characters
lines[].qtyintegeryes1 to 100000
lines[].unitMinorintegeryes0 to 1000000000
lines[].amountMinorintegeryes0 to 1000000000
vatobjectyes
vat.mode"none" · "excluded" · "included"yes
vat.rateBpintegeryes0 to 5000
totalsobjectyes
totals.netMinorintegeryes0 to 1000000000
totals.vatMinorintegeryes0 to 1000000000
totals.grossMinorintegeryes0 to 2147483647
customerobjectyes
customer.legalNamestringyes1 to 200 characters
customer.binIinstringyes
customer.addressstringyes1 to 300 characters

…and 13 more fields. The full schema is in openapi.json.

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

PUT /v1/workspaces/{ws}/billing/documents/{documentId}/paid

Mark an invoice paid by hand: a date and a bank or Kaspi reference (admins).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: admin
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters
documentIdpathstringyes1 to 64 characters

Request body (application/json)

FieldTypeRequiredNotes
paidOnstring (date)yes
referencestring or null1 to 120 characters

Response 200

FieldTypeRequiredNotes
idstringyesat least 1 characters
workspaceIdstringyesat least 1 characters
kind"invoice" · "act"yes
numberstringyesat least 1 characters
seqintegeryesat least 1
yearintegeryesat least 2000
periodstringyes
periodStartstring (date)yes
periodEndstring (date)yes
issuedOnstring (date)yes
issuedAtstring (date-time)yes
currency"KZT"yes
plan"free" · "maker" · "team" · "business" · "sovereign"yes
linesobject[]yesup to 40 items
lines[].kind"plan" · "add_on"yes
lines[].refstringyes1 to 40 characters
lines[].qtyintegeryes1 to 100000
lines[].unitMinorintegeryes0 to 1000000000
lines[].amountMinorintegeryes0 to 1000000000
vatobjectyes
vat.mode"none" · "excluded" · "included"yes
vat.rateBpintegeryes0 to 5000
totalsobjectyes
totals.netMinorintegeryes0 to 1000000000
totals.vatMinorintegeryes0 to 1000000000
totals.grossMinorintegeryes0 to 2147483647
customerobjectyes
customer.legalNamestringyes1 to 200 characters
customer.binIinstringyes
customer.addressstringyes1 to 300 characters

…and 13 more fields. The full schema is in openapi.json.

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

DELETE /v1/workspaces/{ws}/billing/documents/{documentId}/paid

Undo a paid mark made by mistake (admins).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: admin
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters
documentIdpathstringyes1 to 64 characters

Response 200

FieldTypeRequiredNotes
idstringyesat least 1 characters
workspaceIdstringyesat least 1 characters
kind"invoice" · "act"yes
numberstringyesat least 1 characters
seqintegeryesat least 1
yearintegeryesat least 2000
periodstringyes
periodStartstring (date)yes
periodEndstring (date)yes
issuedOnstring (date)yes
issuedAtstring (date-time)yes
currency"KZT"yes
plan"free" · "maker" · "team" · "business" · "sovereign"yes
linesobject[]yesup to 40 items
lines[].kind"plan" · "add_on"yes
lines[].refstringyes1 to 40 characters
lines[].qtyintegeryes1 to 100000
lines[].unitMinorintegeryes0 to 1000000000
lines[].amountMinorintegeryes0 to 1000000000
vatobjectyes
vat.mode"none" · "excluded" · "included"yes
vat.rateBpintegeryes0 to 5000
totalsobjectyes
totals.netMinorintegeryes0 to 1000000000
totals.vatMinorintegeryes0 to 1000000000
totals.grossMinorintegeryes0 to 2147483647
customerobjectyes
customer.legalNamestringyes1 to 200 characters
customer.binIinstringyes
customer.addressstringyes1 to 300 characters

…and 13 more fields. The full schema is in openapi.json.

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

POST /v1/workspaces/{ws}/billing/documents/{documentId}/void

Void a document with a reason. Its number stays used (admins).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: admin
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters
documentIdpathstringyes1 to 64 characters

Request body (application/json)

FieldTypeRequiredNotes
reasonstringyes1 to 200 characters

Response 200

FieldTypeRequiredNotes
idstringyesat least 1 characters
workspaceIdstringyesat least 1 characters
kind"invoice" · "act"yes
numberstringyesat least 1 characters
seqintegeryesat least 1
yearintegeryesat least 2000
periodstringyes
periodStartstring (date)yes
periodEndstring (date)yes
issuedOnstring (date)yes
issuedAtstring (date-time)yes
currency"KZT"yes
plan"free" · "maker" · "team" · "business" · "sovereign"yes
linesobject[]yesup to 40 items
lines[].kind"plan" · "add_on"yes
lines[].refstringyes1 to 40 characters
lines[].qtyintegeryes1 to 100000
lines[].unitMinorintegeryes0 to 1000000000
lines[].amountMinorintegeryes0 to 1000000000
vatobjectyes
vat.mode"none" · "excluded" · "included"yes
vat.rateBpintegeryes0 to 5000
totalsobjectyes
totals.netMinorintegeryes0 to 1000000000
totals.vatMinorintegeryes0 to 1000000000
totals.grossMinorintegeryes0 to 2147483647
customerobjectyes
customer.legalNamestringyes1 to 200 characters
customer.binIinstringyes
customer.addressstringyes1 to 300 characters

…and 13 more fields. The full schema is in openapi.json.

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

GET /v1/workspaces/{ws}/billing/price-tags

What each app and automation you can open uses this month, at add-on list prices (MOCK billing).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: member
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Response 200

FieldTypeRequiredNotes
workspaceIdstringyesat least 1 characters
currency"EUR" · "USD" · "KZT"yes
periodobjectyes
period.startstring (date-time)yes
period.endstring (date-time)yes
period.dayintegeryes1 to 31
period.daysInPeriodintegeryes28 to 31
runsobjectyes
runs.allowancenumberyesat least 0
runs.usednumberyesat least 0
runs.pctnumber or nullyes0 to 1000
runs.insidebooleanyes
runs.perThousandobjectyes
appsobject[]yes
apps[].kind"app" · "automation"yes
apps[].idstringyesat least 1 characters
apps[].namestringyesat least 1 characters
apps[].appIdstring or nullyes
apps[].runsnumberyesat least 0
apps[].aiCreditsnumber or nullyesat least 0
apps[].runsSharenumber or nullyesat least 0
apps[].listValueobjectyes
apps[].projectedRunsnumber or nullyesat least 0
apps[].projection"schedule" · "pace" · null or nullyes
apps[].projectedListValueobject or nullyes
automationsobject[]yes
automations[].kind"app" · "automation"yes
automations[].idstringyesat least 1 characters
automations[].namestringyesat least 1 characters
automations[].appIdstring or nullyes

…and 11 more fields. The full schema is in openapi.json.

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

PUT /v1/workspaces/{ws}/billing/profile

Set the company details printed on invoices and acts: name, BIN or IIN, address.

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: admin
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Request body (application/json)

FieldTypeRequiredNotes
legalNamestringyes1 to 200 characters
binIinstringyes
addressstringyes1 to 300 characters
emailstring (email) or nullyesup to 200 characters
contractRefstring or nullyes1 to 160 characters
vatPayerbooleanyes
language"en" · "ru" · "kk"yes

Response 200

FieldTypeRequiredNotes
workspaceIdstringyesat least 1 characters
profileobject or nullyes
profile.legalNamestringyes1 to 200 characters
profile.binIinstringyes
profile.addressstringyes1 to 300 characters
profile.emailstring (email) or nullyesup to 200 characters
profile.contractRefstring or nullyes1 to 160 characters
profile.vatPayerbooleanyes
profile.language"en" · "ru" · "kk"yes
profile.updatedAtstring (date-time)yes
sellerobjectyes
seller.configuredbooleanyes
seller.legalNamestring or nullyes
seller.vatobjectyes
seller.vatCheckedbooleanyes
plan"free" · "maker" · "team" · "business" · "sovereign"yes
currency"KZT"yes
workspaceCurrency"EUR" · "USD" · "KZT"yes
canEditbooleanyes
newestInvoicePeriodstringyes
newestActPeriodstringyes
oldestPeriodstringyes
documentsobject[]yes
documents[].idstringyesat least 1 characters
documents[].kind"invoice" · "act"yes
documents[].numberstringyesat least 1 characters
documents[].periodstringyes
documents[].issuedOnstring (date)yes
documents[].status"issued" · "paid" · "void"yes
documents[].relatedNumberstring or nullyes

…and 5 more fields. The full schema is in openapi.json.

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

GET /v1/workspaces/{ws}/billing/quote

What an invoice or an act for a month would say, before it is issued.

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: admin
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters
kindquery"invoice" · "act"yes
periodquerystringyes

Response 200

FieldTypeRequiredNotes
kind"invoice" · "act"yes
periodstringyes
periodStartstring (date)yes
periodEndstring (date)yes
plan"free" · "maker" · "team" · "business" · "sovereign"yes
linesobject[]yes
lines[].kind"plan" · "add_on"yes
lines[].refstringyes1 to 40 characters
lines[].qtyintegeryes1 to 100000
lines[].unitMinorintegeryes0 to 1000000000
lines[].amountMinorintegeryes0 to 1000000000
vatobjectyes
vat.mode"none" · "excluded" · "included"yes
vat.rateBpintegeryes0 to 5000
totalsobjectyes
totals.netMinorintegeryes0 to 1000000000
totals.vatMinorintegeryes0 to 1000000000
totals.grossMinorintegeryes0 to 2147483647
usageobject[] or nullyes
usage[].kind"cpu_time" · "concurrency" · "runs" · "requests" · "egress_gb" · "storage_db_gb" · "storage_files_gb" · "ai_credits" · …yes
usage[].usednumber or nullyesat least 0
usage[].allowancenumberyesat least 0
usage[].estimatebooleanyes
relatedNumberstring or nullyes
problemobject or nullyes
problem.code"bad_period" · "before_workspace" · "too_old" · "too_far_ahead" · "period_not_finished" · "contract_plan" · "nothing_to_invoice"yes
problem.messagestringyes
problem.hintstringyes
previewbooleanyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

POST /v1/workspaces/{ws}/billing/quote

Before switching a schedule on: how many runs it takes and what that does to the month (read-only).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: member
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Request body (application/json)

FieldTypeRequiredNotes
cronstring1 to 120 characters
timezonestring1 to 64 characters
perDaynumber0 to 100000000
appIdstring1 to 128 characters
automationIdstring1 to 128 characters

Response 200

FieldTypeRequiredNotes
basis"schedule" · "rate"yes
cronstring or nullyes
timezonestring or nullyes
periodRunsintegeryesat least 0
remainingRunsintegeryesat least 0
replacedRunsintegeryesat least 0
perDaynumberyesat least 0
allowancenumber or nullyesat least 0
usednumber or nullyesat least 0
afternumber or nullyesat least 0
pctAfternumber or nullyes0 to 1000
shareOfAllowancenumber or nullyesat least 0
verdict"fits" · "near" · "passes_allowance" · "refused" · "unknown"yes
extraobject or nullyes
extra.runsnumberyesat least 0
extra.stepsintegeryesat least 1
extra.monthlyobjectyes
extra.canBuybooleanyes
listValueobjectyes
listValue.currency"EUR" · "USD" · "KZT"yes
listValue.minornumberyes
budgetsobject[]yes
budgets[].idstringyesat least 1 characters
budgets[].scope"app" · "automation" · "member" · "agent_token"yes
budgets[].scopeNamestring or nullyes
budgets[].mode"soft" · "hard"yes
budgets[].limitintegeryesat least 0
budgets[].usednumberyesat least 0
budgets[].afternumberyesat least 0
budgets[].pctAfternumberyes0 to 1000

…and 5 more fields. The full schema is in openapi.json.

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

GET /v1/workspaces/{ws}/budgets

Budgets under the workspace cap: admins see all of them, a member sees the ones set on them.

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: member
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Response 200

FieldTypeRequiredNotes
workspaceIdstringyesat least 1 characters
periodobjectyes
period.startstring (date-time)yes
period.endstring (date-time)yes
budgetsobject[]yes
budgets[].idstringyesat least 1 characters
budgets[].scope"app" · "automation" · "member" · "agent_token"yes
budgets[].scopeIdstringyesat least 1 characters
budgets[].scopeNamestring or nullyes
budgets[].meter"runs" · "ai_credits"yes
budgets[].limitintegeryesat least 0
budgets[].mode"soft" · "hard"yes
budgets[].alerts50 or 75 or 90 or 100[]yes
budgets[].coverage"enforced" · "tracked"yes
budgets[].usednumber or nullyesat least 0
budgets[].pctnumber or nullyes0 to 1000
budgets[].state"ok" · "near" · "reached" · null or nullyes
budgets[].alerted50 or 75 or 90 or 100 or any or nullyes
budgets[].blockingbooleanyes
budgets[].updatedAtstring (date-time)yes
budgets[].updatedByNamestring or nullyes
cellsobject[]yes
cells[].scope"app" · "automation" · "member" · "agent_token"yes
cells[].meter"runs" · "ai_credits"yes
cells[].coverage"enforced" · "tracked"yes
cells[].stops"run_start" · "build_start" · "nothing_yet"yes
targetsobject[]yes
targets[].scope"app" · "automation" · "member" · "agent_token"yes
targets[].idstringyesat least 1 characters
targets[].namestringyesat least 1 characters

…and 4 more fields. The full schema is in openapi.json.

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

PUT /v1/workspaces/{ws}/budgets

Set the budget on an app, automation, agent token or member (admins; creates or changes it).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: admin
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Request body (application/json)

FieldTypeRequiredNotes
scope"app" · "automation" · "member" · "agent_token"yes
scopeIdstringyes1 to 128 characters
meter"runs" · "ai_credits"yes
limitintegeryes0 to 1000000000
mode"soft" · "hard"yes
alerts50 or 75 or 90 or 100[]up to 4 items

Response 200

FieldTypeRequiredNotes
idstringyesat least 1 characters
scope"app" · "automation" · "member" · "agent_token"yes
scopeIdstringyesat least 1 characters
scopeNamestring or nullyes
meter"runs" · "ai_credits"yes
limitintegeryesat least 0
mode"soft" · "hard"yes
alerts50 or 75 or 90 or 100[]yes
coverage"enforced" · "tracked"yes
usednumber or nullyesat least 0
pctnumber or nullyes0 to 1000
state"ok" · "near" · "reached" · null or nullyes
alerted50 or 75 or 90 or 100 or any or nullyes
blockingbooleanyes
updatedAtstring (date-time)yes
updatedByNamestring or nullyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

DELETE /v1/workspaces/{ws}/budgets/{budgetId}

Remove a budget (admins).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: admin
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters
budgetIdpathstringyes1 to 128 characters

Response 200

FieldTypeRequiredNotes
removedtrueyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

Type to search. Up and down to choose, Enter to open, Esc to close.