apiDeterministic
Get agent spend
GET /api/agents/spend
LLM spend for the agent assembly line. Default returns per-role spend aggregated over a period. Pass role to get a per-run audit trail for that one agent. Period defaults to 24h.
Parameters
workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
period
string
Default 24h.
24h | 7d | 30d
role
string
Pass to drill into one agent. Omit for per-role aggregate.
scout | researcher | icp | writer | closer | coach
Example
REST requestbash
curl -X GET "https://app.pipeline.help/api/agents/spend" \-H "Authorization: Bearer $PIPELINE_API_KEY"
Response
The operation is available, but its typed response schema has not been published yet.
HTTP errors
- 401
- Missing or invalid API key.
- 403
- Authenticated but not permitted for the workspace or resource.
- 404
- The requested resource was not found.