Custom Metrics REST API Guide
List all custom metrics
Allows you to filter by any field.
Allows you to search by any field.
Allows you to order results by any field. For desc order prefix field name with -
and provide comman separated values for multiple fields
Limit for the pagination
Offset for the pagination
List of all custom metrics
Bad Request
Unauthorized
Forbidden
Internal Server Error
GET /v3/custom-metrics HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"api_version": "3.0",
"kind": "PAGINATED",
"data": {
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"definition": "text",
"organization": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text"
},
"project": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"asset_type": "ML_MODEL"
},
"model": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"version": "text"
},
"created_at": "2025-08-08T03:37:25.290Z",
"updated_at": "2025-08-08T03:37:25.290Z",
"created_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"full_name": "text",
"email": "[email protected]"
},
"updated_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"full_name": "text",
"email": "[email protected]"
}
}
]
}
}
Create new custom metric
Custom metric successfully created
Bad Request
Unauthorized
Forbidden
Resource not found
Internal Server Error
POST /v3/custom-metrics HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"model_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"definition": "text"
}
{
"api_version": "3.0",
"kind": "NORMAL",
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"definition": "text",
"organization": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text"
},
"project": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"asset_type": "ML_MODEL"
},
"model": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"version": "text"
},
"created_at": "2025-08-08T03:37:25.290Z",
"updated_at": "2025-08-08T03:37:25.290Z",
"created_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"full_name": "text",
"email": "[email protected]"
},
"updated_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"full_name": "text",
"email": "[email protected]"
}
}
}
Detail info of a custom metric
uuid path parameter
Get detail info
Unauthorized
Forbidden
Resource not found
Internal Server Error
GET /v3/custom-metrics/{uuid} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"api_version": "3.0",
"kind": "NORMAL",
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"definition": "text",
"organization": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text"
},
"project": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"asset_type": "ML_MODEL"
},
"model": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"version": "text"
},
"created_at": "2025-08-08T03:37:25.290Z",
"updated_at": "2025-08-08T03:37:25.290Z",
"created_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"full_name": "text",
"email": "[email protected]"
},
"updated_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"full_name": "text",
"email": "[email protected]"
}
}
}
Delete custom metric by uuid
uuid path parameter
Success
Bad Request
Unauthorized
Forbidden
Resource not found
Internal Server Error
DELETE /v3/custom-metrics/{uuid} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
List all custom metrics for a model
model id path parameter
Allows you to filter by any field.
Allows you to search by any field.
Allows you to order results by any field. For desc order prefix field name with -
and provide comman separated values for multiple fields
Limit for the pagination
Offset for the pagination
List of all custom metrics for a model
Bad Request
Unauthorized
Forbidden
Resource not found
Internal Server Error
GET /v3/models/{model_id}/custom-metrics HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"api_version": "3.0",
"kind": "PAGINATED",
"data": {
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"definition": "text",
"organization": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text"
},
"project": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"asset_type": "ML_MODEL"
},
"model": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"version": "text"
},
"created_at": "2025-08-08T03:37:25.290Z",
"updated_at": "2025-08-08T03:37:25.290Z",
"created_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"full_name": "text",
"email": "[email protected]"
},
"updated_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"full_name": "text",
"email": "[email protected]"
}
}
]
}
}
Last updated
Was this helpful?