Logs Query
Logs & Metrics
Logs Query
Query inference logs.
- Without timestamps (from/to) returns last
limitmessages (in last month). - With
fromonly, returns firstlimitmessages afterfrom(inclusive). - With
toonly, returns lastlimitmessages beforeto(inclusive). - With both
fromandto, return the firstlimitmessages afterfrom, but not later thanto. fromandtoshould be no more than a month apart.
GET
Logs Query
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Query Parameters
the deploy id to get the logs from
start of period, in fractional seconds since unix epoch (inclusive)
end of period, in fractional seconds since unix epoch (exclusive)
how many items to return at most (default 100, in [1, 1000])
Response
Successful Response
list of log lines ordered by increasing timestamp