Skip to main content
GET
/
deploy
/
stats
Deployment Stats
curl --request GET \
  --url https://api.example.com/deploy/stats \
  --header 'Authorization: Bearer <token>'
[
  {
    "model_name": "<string>",
    "requests": 123
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

xi-api-key
string | null

Query Parameters

from
string
required

start of period, unix ts or 'now-5h', supported units s(ec), m(min), h(our), d(ay), w(eek), M(onth)

to
string
default:now

end of period, unix ts or now-relative, check from, defaults to now

Response

Successful Response

model_name
string
required

Model name

Example:

"google/vit-base-patch16-224"

requests
integer
required

number of inference requests in the provided interval