Logs, Metrics & Events
Get log volume over time
Changed onReturns how many log lines the app wrote in each 5-minute window. Team permission: any project permission.
get/v2/projects/{project_id}/logs/chart
Request
- Base URLhttps://api.liara.ir
- URLhttps://api.liara.ir/v2/projects/{project_id}/logs/chart
- AuthHTTP bearer
Path parameters
project_idstring required
The app's name.
Query parameters
teamIDstring
24-character hexadecimal ID.
Run the request in the context of a team you belong to, instead of your personal account.
startinteger
Start of the range, in Unix seconds. It can't be further back than your bundle plan's log retention. If omitted, the last hour is used.
endinteger
End of the range, in Unix seconds. Defaults to now. Must be after start.
appletIdstring
Only include one instance of the app (an appletId from a previous response). Can't be combined with releaseId.
releaseIdstring
Only include one release. Can't be combined with appletId.
Response
Log counts, grouped by instance and release.
Changes
- info
endpoint added
- info