GET
/
functions
/
{functionName}
/
deployments
/
{environmentName}
/
metrics

Authorizations

Authorization
string
headerrequired

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

Path Parameters

functionName
string
required

Name of the function

environmentName
string
required

Name of the environment

Response

200 - application/json

Metrics for a single resource deployment (eg. model deployment, function deployment)

inference_global
object[]

Historical requests (in last 24 hours) for the model deployment globally

inference_per_region
object

Historical requests (in last 24 hours) per location, for the model deployment

inference_per_second_global
object[]

Historical requests per second (RPS), for the model deployment globally

inference_per_second_per_region
object

Historical requests per second (RPS) per location, for the model deployment

query_global
number

Number of requests done on the resource for the model deployment

query_per_code_global
object

Number of requests done on the resource for the model deployment

query_per_region
object

Number of requests done on the resource for the model deployment

query_per_region_per_code
object

Number of requests done on the resource for the model deployment

query_per_second_global
number

RPS value (in last 24 hours) for the model deployment globally

query_per_second_per_code_global
object

RPS value (in last 24 hours) per response status code, for the model deployment globally

query_per_second_per_region
object

RPS value (in last 24 hours) per location, for the model deployment

query_per_second_per_region_per_code
object

RPS value (in last 24 hours) per response status code per location, for the model deployment