v4

latestOpenAPI 3.1.02026-07-31155218294.8 KB
Logs & Metrics

Logs Query

Query 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

Query parameters

deploy_idstring required

the deploy id to get the logs from

the deploy id to get the logs from

fromstring nullable

start of period, in fractional seconds since unix epoch (inclusive)

start of period, in fractional seconds since unix epoch (inclusive)

tostring nullable

end of period, in fractional seconds since unix epoch (exclusive)

end of period, in fractional seconds since unix epoch (exclusive)

limitinteger

how many items to return at most (default 100, in [1, 1000])

how many items to return at most (default 100, in [1, 1000])

Headers

xi-api-keystring nullable
x-api-keystring nullable

Response

Successful Response