Search project logs
Changed onSearch or filter logs 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 read deployment logs instead of runtime logs for functions and frontends. Deployment logs are not supported for databases. Database logs are a SUPERAGENT feature; requests for resource.type=database from a HOBBY project owner return 403. Log history (runtime and deployment) is limited to the plan's retention window (HOBBY: 1 day, SUPERAGENT: 30 days); older time ranges are clamped to that window.
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Project ID
Request body
Search request for project logs.
Resource selectors for project log reads.
Optional log 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 time.
End time.
Maximum number of records to return.
Opaque pagination cursor from the previous response's next_cursor.
Response
Successful response
Paginated project runtime log search response.
Array of log events sorted by timestamp, newest first.
Number of items requested per page.
Whether the search may have more matching log events. A page can hold fewer than limit events, or none, while this is true; keep paging until it is false.
Opaque cursor for the next page, present while has_more is true. Send this value as cursor on the next request, even when data is empty.
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
24 more changes in this revision
- breaking