API documentation | API docs for agents | OpenAPI 3.1
POST /api/v1/billing/workbench
ark.get_billing_workbench
Get Billing Workbench through the authoritative Billing application boundary.
- Availability
- Expanded preview
- Scopes
loads:readbilling:read- ARK permissions
canViewLoadscanViewBilling- Team visibility
- Required and enforced
- Idempotency-Key
- Not required
- Approval
- No MCP approval on REST API-token calls
- Rate limit
- API credential and organization budgets
Parameters
None.
Request body
sidestringrequiredone of: ap, ar
stagesarray<string>requiredmin items: 1; max items: 6
teamIdsarray<string>max items: 100
searchstringmax length: 500
savedViewstringone of: all, factored, needs-documents, on-hold, integration-exceptions, payment-exceptions, suspense
filtersobjectsortobjectlimitintegermin: 1; max: 500
cursorstringmin length: 1; max length: 1000
includeInvoicedCustomerAggregatesbooleancanceledNachaVersionIdstringformat: uuid
agingAsOfstringExample request
Shell
curl -X POST 'https://arktms.com/api/v1/billing/workbench' \
-H "Authorization: Bearer $ARK_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"side": "ap",
"stages": [
"delivered"
]
}'Success response
Operation result.
objectstringrequiredokbooleanrequiredapi_versionstringrequiredrequest_idstringrequireddataobjectrequireddata.contractVersionstringrequireddata.scopeobjectrequireddata.rowsarray<object>requireddata.pageobjectrequireddata.countsobjectrequireddata.totalsarray<object>requireddata.invoicedCustomerAggregatesarray<object>requireddata.parityGapsarray<object>requiredErrors
HTTP 400- Invalid request
HTTP 401- Authentication required
HTTP 403- Permission, scope, team, or entitlement denied
HTTP 404- Resource not found
HTTP 409- Idempotency conflict or in-progress retry