For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Scout DocsAccess Scout
API & SDK
API & SDK
  • Endpoints
      • GETGet usage information for the current organization.
LogoLogo
Scout DocsAccess Scout
EndpointsUsage

Get usage information for the current organization.

Beta
GET
https://api.scoutos.com/v2/usage
GET
/v2/usage
$curl https://api.scoutos.com/v2/usage \
> -H "Authorization: Bearer <token>"
1{
2 "data": {
3 "usage": [
4 {
5 "organization_id": "org_9f8b7c6d5e4a3b2c1d0e",
6 "workflow_run_type": "scheduled",
7 "block_archetype_id": "block_123abc456def",
8 "execution_date": "2024-05-10",
9 "total_cost": 12.75,
10 "total_execution_duration_ms": 4500,
11 "display_name": "Data Processing Block"
12 }
13 ],
14 "total_cost": 12.75
15 }
16}
Was this page helpful?
Previous

Get logs for a workflow

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

start_datestring or nullOptional
Start date for the usage data
end_datestring or nullOptional
End date for the usage data

Response

Successful Response
dataobject

Errors

422
Unprocessable Entity Error