Logs & Metrics
Logs Query
Changed onQuery inference logs.
- Without timestamps (from/to) returns last limit messages (in last month).
- With from only, returns first limit messages after from (inclusive).
- With to only, returns last limit messages before to (inclusive).
- With both from and to, return the first limit messages after from, but not later than to.
- from and to should be no more than a month apart.
get/v1/logs/query
Request
- Base URL: https://api.deepinfra.com
- URL: https://api.deepinfra.com/v1/logs/query
- Auth: HTTP bearer
Query parameters
deploy_idstring required
the deploy id to get the logs from
fromstring nullable
start of period, in fractional seconds since unix epoch (inclusive)
tostring nullable
end of period, in fractional seconds since unix epoch (exclusive)
limitinteger
how many items to return at most (default 100, in [1, 1000])
Headers
xi-api-keystring nullable
x-api-keystring nullable
Response
Successful Response
Changes
- info
api tag
Logs & Metricsadded - info
added the new optional
headerrequest parameterx-api-key
- info