Custom Metrics REST API Guide

List all custom metrics

get

List all custom metrics

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
filterstringOptional

Allows you to filter by any field.

searchstringOptional

Allows you to search by any field.

orderingstringOptional

Allows you to order results by any field. For desc order prefix field name with - and provide comman separated values for multiple fields

limitintegerOptional

Limit for the pagination

offsetintegerOptional

Offset for the pagination

Responses
chevron-right
200

List of all custom metrics

application/json

Response object for paginated API responses.

api_versionstring · enumOptional

API version of the response.

Default: 3.0Possible values:
kindstring · enumOptional

Type of response, indicating a paginated response.

Default: PAGINATEDPossible values:
get
/v3/custom-metrics

Create new custom metric

post

Create new custom metric

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
model_idstring · uuidRequired
namestringRequired
descriptionstringOptional
definitionstringRequired
Responses
chevron-right
200

Custom metric successfully created

application/json

Response object for standard API responses.

api_versionstring · enumOptional

API version.

Default: 3.0Possible values:
kindstring · enumOptional

Type of response, indicating a normal response.

Default: NORMALPossible values:
post
/v3/custom-metrics

Detail info of a custom metric

get

Detail info of a custom metric

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
uuidstring · uuidRequired

uuid path parameter

Responses
chevron-right
200

Get detail info

application/json

Response object for standard API responses.

api_versionstring · enumOptional

API version.

Default: 3.0Possible values:
kindstring · enumOptional

Type of response, indicating a normal response.

Default: NORMALPossible values:
get
/v3/custom-metrics/{uuid}

Delete custom metric by uuid

delete

Delete custom metric by uuid

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
uuidstring · uuidRequired

uuid path parameter

Responses
chevron-right
200

Success

delete
/v3/custom-metrics/{uuid}

No content

List all custom metrics for a model

get

List all custom metrics for a model

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
model_idstring · uuidRequired

model id path parameter

Query parameters
filterstringOptional

Allows you to filter by any field.

searchstringOptional

Allows you to search by any field.

orderingstringOptional

Allows you to order results by any field. For desc order prefix field name with - and provide comman separated values for multiple fields

limitintegerOptional

Limit for the pagination

offsetintegerOptional

Offset for the pagination

Responses
chevron-right
200

List of all custom metrics for a model

application/json

Response object for paginated API responses.

api_versionstring · enumOptional

API version of the response.

Default: 3.0Possible values:
kindstring · enumOptional

Type of response, indicating a paginated response.

Default: PAGINATEDPossible values:
get
/v3/models/{model_id}/custom-metrics

Last updated

Was this helpful?