Get project log activity
Changed onRetrieve bucketed log counts for one resource type in the project. Set resource.type to function, frontend, or database. Add resource.ids to filter to one or more resources, and add resource.deployments.ids to count deployment logs instead of runtime logs for functions and frontends. Deployment logs are not supported for databases. Database logs are a SUPERAGENT feature; resource.type=database from a HOBBY project owner returns 403. The activity window is limited to the plan's retention window (HOBBY: 1 day, SUPERAGENT: 30 days); older start times are clamped to that window. Buckets are aligned to UTC clock intervals and count events in the half-open window [start_time, end_time).
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Project ID
Request body
Activity request for bucketed log counts.
Resource selectors for project log reads.
Optional activity query. Supports quoted text, implicit AND, AND/OR/NOT, parentheses, and fields such as level, region, invocation.id, resource.id, resource.name, function, frontend, database, and body.
Start of the window, inclusive. Defaults to 24 hours before end_time.
End of the window, exclusive. Defaults to now.
Maximum number of buckets. Defaults to 24. Volcano picks the smallest bucket width from 1s, 2s, 5s, 10s, 15s, 30s, 1m, 2m, 5m, 10m, 15m, 30m, 1h, 2h, 3h, 6h, 12h, 1d, or a whole number of days that covers the window in at most this many buckets. Bucket edges fall on UTC multiples of the width, so they stay fixed as the window moves, and the response can contain fewer buckets. 1 returns one bucket that spans exactly the window.
Response
Successful response
Bucketed runtime log activity.
Total events counted across all buckets.
Changes
- info
the endpoint scheme security
ProjectAccessTokenwas added to the API - info
added the new optional request property
resource/oneOf[#/components/schemas/LogFunctionRequestResource]/kind
- info
- breaking
added the new path request parameter
id
21 more changes in this revision
- breaking