Get admin spend drilldown records
Returns paginated billable line items across all organizations behind admin spend report totals. Rows include organization_name for cross-organization drilldown.
Request
- Base URL: https://api.sanifu.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.sanifu.ai/api/v1/admin/billing/spend/records
- Auth: one of:
- OAuth 2 (password, token URL auth/jwt/login)
- HTTP basic
Query parameters
IANA timezone name for interpreting date-only filters (e.g., 'UTC', 'Africa/Nairobi')
Preset date range for drilldown records.
Inclusive start date. Required when preset=custom.
Inclusive end date. Required when preset=custom.
Filter by source: execution or builder.
Filter by provider.
Filter by model name.
Filter by usage item type.
Filter by transaction type.
Filter by billing environment: production or sandbox.
Filter by organization ID. Most useful with the admin organization lookup endpoint for unique organization selection.
Filter by organization name. Most useful on admin reports.
Filter by AI/builder agent name, not data app name.
Filter by data app name.
Filter by workflow name.
Filter by workflow component name.
Filter by record category.
Filter by runtime container tier.
Filter by execution context.
Filter by loop type.
Filter by triggering app type.
Filter by integration pattern.
Response
Successful Response
Example response
{
"data": [
{
"component_name": "ai_classifier",
"cost_credits": "360.00000000",
"cost_usd": "0.03600000",
"created_at": "2026-05-01T12:34:56Z",
"data_app_name": "Invoice Processor",
"description": "llm - input_tokens",
"execution_context": "direct",
"execution_count": 1,
"item_type": "input_tokens",
"model_name": "gpt-6-sol",
"organization_name": "Acme Corp",
"provider": "openai",
"quantity": "12000.0000",
"record_category": "component",
"source_type": "execution",
"subscription_event_id": 501,
"transaction_id": 1024,
"transaction_type": "workflow_execution",
"unit_price": "0.000003000",
"usage_line_item_id": 2291,
"usage_record_id": 881,
"workflow_name": "Extract invoice fields"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.