Service usage metrics are computed for each client and for each process type. They can be retrieved from the personal cabinet or via the api method.
The metrics are described by the following object:
| process_type required | string (process_type) Enum: "NOTRACE" "TRACE" "PLAN" … 4 more Example: "PLAN" Process type. Uniqueness of points is considered within one type of process. |
| points_per_day required | integer <int32> [ 0 .. 100000000 ] Example: "2500" Non-unique points on the billing day (the beginning of the day depends on the client's time zone, which is specified in the client's settings). The point is calculated for each service separately and equals:
|
| unique_points_per_day required | integer <int32> [ 0 .. 100000000 ] Example: "1500" Unique points per billing day (the start of the day depends on the client's time zone, which is specified in the client's settings). The unique point is calculated for each service separately and is equal to:
|
| elements_per_day required | integer <int32> [ 0 .. 100000000 ] Example: "250" Result elements per calculation day (the start of the day depends on the client's time zone, which is specified in the client's settings). An element is calculated for each service separately and is equal to:
|
| processes_per_day required | integer <int32> [ 0 .. 100000000 ] Example: "776" The total number of processes per billing day (the start of the day depends on the client's time zone, which is specified in the client's settings). A process equals one billing and is independent of the service type. |
{- "process_type": "PLAN",
- "points_per_day": 2500,
- "unique_points_per_day": 1500,
- "elements_per_day": 250,
- "processes_per_day": 776
}Obtaining a token using the login and password.
Token request.
| username required | string (user_username) [ 2 .. 256 ] characters \w+ Example: "username_for_login" Unique username for login. |
| password required | string or null <password> (user_password) [ 10 .. 256 ] characters Example: "long_strong_password" Password. |
| ttl_seconds | integer <int32> [ 60 .. 31556926 ] Default: 86400 Example: "86400" Token validity time, in seconds. |
Token (JWT).
{- "username": "username_for_login",
- "password": "long_strong_password",
- "ttl_seconds": 86400
}"new.jwt.token"Validating a token.
Token validate request.
Token (JWT).
| valid required | boolean Example: "true" Token status. |
| roles required | Array of strings (user_role_list) [ 0 .. 2 ] items unique Items Enum: "ADMIN" "PARTNER" "USER" … 5 more Example: ["USER"] List of user roles. |
"new.jwt.token"{- "valid": true,
- "roles": [ ]
}Change password and get new token.
Password change request data.
| current_password required | string or null <password> (user_password) [ 10 .. 256 ] characters Example: "long_strong_password" Password. |
| new_password required | string or null <password> (user_password) [ 10 .. 256 ] characters Example: "long_strong_password" Password. |
Token (JWT).
{- "current_password": "long_strong_password",
- "new_password": "long_strong_password"
}"new.jwt.token"Getting a account information.
| username required | string (user_username) [ 2 .. 256 ] characters \w+ Example: "username_for_login" Unique username for login. |
| specification | string or null (user_specification) [ 2 .. 256 ] characters Example: "User full name" User specification. |
string or null <email> (user_email) [ 5 .. 256 ] characters ^[A-Za-z0-9+_.-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,... Example: "admin@company.com" User e-mail address. | |
| phone | string or null (user_phone) [ 5 .. 32 ] characters ^[+]{1}(?:[0-9\-$$\/\.]\s?){6,15}[0-9]{1}$ Example: "+71112223333" User phone. |
| company_key required | string (company_key) [ 3 .. 256 ] characters \w+ Example: "smart_company" Unique company key. |
| enabled | boolean Default: true Example: "true" User status. |
| roles required | Array of strings (user_role_list) [ 0 .. 2 ] items unique Items Enum: "ADMIN" "PARTNER" "USER" … 5 more Example: ["USER"] List of user roles. |
| timezone | integer <int32> (timezone) [ -12 .. 12 ] Default: 0 Example: "3" Basic time zone used for statistics. |
| edit_date | string or null <date-time> Default: null Example: "2026-04-21T19:45:00Z" Last edit date and time in the ISO 8601 format. |
| creation_date | string or null <date-time> Default: null Example: "2026-04-21T19:45:00Z" Creation date and time in the ISO 8601 format. |
Array of objects (attributes) [ 0 .. 250 ] items unique Attributes. Used to add service information. |
{- "username": "username_for_login",
- "specification": "User full name",
- "email": "admin@company.com",
- "phone": "+71112223333",
- "company_key": "smart_company",
- "enabled": true,
- "roles": [ ],
- "timezone": 3,
- "edit_date": "2026-04-21T19:45:00Z",
- "creation_date": "2026-04-21T19:45:00Z",
- "attributes": [ ]
}Updating the account information.
Account update request.
| specification | string or null (user_specification) [ 2 .. 256 ] characters Example: "User full name" User specification. |
string or null <email> (user_email) [ 5 .. 256 ] characters ^[A-Za-z0-9+_.-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,... Example: "admin@company.com" User e-mail address. | |
| phone | string or null (user_phone) [ 5 .. 32 ] characters ^[+]{1}(?:[0-9\-$$\/\.]\s?){6,15}[0-9]{1}$ Example: "+71112223333" User phone. |
Array of objects (attributes) [ 0 .. 250 ] items unique Attributes. Used to add service information. |
| username required | string (user_username) [ 2 .. 256 ] characters \w+ Example: "username_for_login" Unique username for login. |
| specification | string or null (user_specification) [ 2 .. 256 ] characters Example: "User full name" User specification. |
string or null <email> (user_email) [ 5 .. 256 ] characters ^[A-Za-z0-9+_.-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,... Example: "admin@company.com" User e-mail address. | |
| phone | string or null (user_phone) [ 5 .. 32 ] characters ^[+]{1}(?:[0-9\-$$\/\.]\s?){6,15}[0-9]{1}$ Example: "+71112223333" User phone. |
| company_key required | string (company_key) [ 3 .. 256 ] characters \w+ Example: "smart_company" Unique company key. |
| enabled | boolean Default: true Example: "true" User status. |
| roles required | Array of strings (user_role_list) [ 0 .. 2 ] items unique Items Enum: "ADMIN" "PARTNER" "USER" … 5 more Example: ["USER"] List of user roles. |
| timezone | integer <int32> (timezone) [ -12 .. 12 ] Default: 0 Example: "3" Basic time zone used for statistics. |
| edit_date | string or null <date-time> Default: null Example: "2026-04-21T19:45:00Z" Last edit date and time in the ISO 8601 format. |
| creation_date | string or null <date-time> Default: null Example: "2026-04-21T19:45:00Z" Creation date and time in the ISO 8601 format. |
Array of objects (attributes) [ 0 .. 250 ] items unique Attributes. Used to add service information. |
{- "specification": "User full name",
- "email": "admin@company.com",
- "phone": "+71112223333",
- "attributes": [ ]
}{- "username": "username_for_login",
- "specification": "User full name",
- "email": "admin@company.com",
- "phone": "+71112223333",
- "company_key": "smart_company",
- "enabled": true,
- "roles": [ ],
- "timezone": 3,
- "edit_date": "2026-04-21T19:45:00Z",
- "creation_date": "2026-04-21T19:45:00Z",
- "attributes": [ ]
}Obtaining the quotas for the user.
required | object (quota_base) All services quota. |
{- "base": {
- "services": [
- {
- "service": "UNIVERSAL",
- "processes": [
- {
- "process_type": "PLAN",
- "points_per_request": 1500,
- "points_per_day": 25000,
- "max_concurrent_execution": 5
}
]
}
]
}
}User actions for the period. If the period is not specified, data for the current day is returned - from the beginning of the day to the current time inclusive. If the beginning of the time period is not specified, data from the beginning of the current day is returned. If the end of the time period is not specified, data up to the current time is returned.
| offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 The number of items to skip before starting to collect the result set. |
| limit | integer <int32> [ 1 .. 2001 ] Default: 100 Example: limit=10 The number of items to return. |
| from | string <date-time> Example: from=2026-04-21T09:30:00+03:00 Date and time in the ISO 8601 format. If no datetime is specified, audit data are returned from the beginning of the day. |
| to | string <date-time> Example: to=2026-04-21T18:00:00+03:00 Date and time in the ISO 8601 format. If not specified, data up to the current time is returned. |
| service | string (service) Enum: "UNIVERSAL" "ROUTING" "ACCOUNT" … 7 more Example: service=UNIVERSAL Service name. |
| operation | string (operation) [ 3 .. 256 ] characters \w+ Example: operation=run_plan_calculation Operation name. |
| process_type | string (process_type) Enum: "NOTRACE" "TRACE" "PLAN" … 4 more Example: process_type=PLAN Process type. |
| status | string (calculation_status) Enum: "WAITING" "IN_PROGRESS" "FINISHED_IN_TIME" … 5 more Example: status=FINISHED_IN_TIME Process status. |
| sort_field | string [ 1 .. 64 ] characters Example: sort_field=name Field to sort by. |
| sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Sort direction. |
required | Array of objects (audit_action) [ 0 .. 2001 ] items User actions list. |
required | object (audit_counters) Counters by records list. |
{- "actions": [
- {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "process_type": "PLAN",
- "username": "username_for_login",
- "company": "smart_company",
- "service": "UNIVERSAL",
- "time": "2026-04-21T09:30:00+03:00",
- "requests": [
- {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "username_for_login",
- "company": "smart_company",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "env": "edge7",
- "pod": "11111111-2222-3333-4444-555555555555",
- "time": "2026-04-21T09:30:00+03:00"
}
], - "statistics": {
- "request_points_count": 1500,
- "result_elements_count": 500,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "message": "detail error message",
- "result_version": 133,
- "preparing_time": "PT1H45M",
- "business_validation_time": "PT1H45M",
- "math_validation_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "calculation_time": "PT1H45M",
- "postprocessing_time": "PT1H45M"
}
}, - "input_file_exists": true,
- "output_file_exists": true
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}Receiving an incoming request by tracedata.process_code.
| process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Unique process identifier. |
| data_flow_type | string (flow_type) Default: "INPUT" Enum: "INPUT" "OUTPUT" Example: data_flow_type=OUTPUT Data flow type. |
| data_flow_stage | string (flow_stage) Default: "RAW" Value: "RAW" Example: data_flow_stage=RAW Data flow stage. |
File with data (octet-stream).
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "username_for_login",
- "company": "smart_company",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "env": "edge7",
- "pod": "11111111-2222-3333-4444-555555555555",
- "time": "2026-04-21T09:30:00+03:00"
}, - "message": "bad data",
- "schema_errors": [ ]
}User statistics for the period. If the period is not specified, the statistics for the current month returns (from the beginning of the month to the present day). If no from datetime is specified, data are returned from the beginning of the month. If no to datetime is specified, data are returned be to the present day (excluding). Empty service and process type fields mean returning statistics for all services and process types.
| from | string <date> Example: from=2026-04-22 Date |
| to | string <date> Example: to=2026-04-26 Date |
| service | string (service) Enum: "UNIVERSAL" "ROUTING" "ACCOUNT" … 7 more Example: service=UNIVERSAL Service name. |
| process_type | string (process_type) Enum: "NOTRACE" "TRACE" "PLAN" … 4 more Example: process_type=PLAN Process type. |
| username required | string (user_username) [ 2 .. 256 ] characters \w+ Example: "username_for_login" Unique username for login. |
required | Array of objects (date_statistics) [ 0 .. 3653 ] items Statistics list for each day for the specified user. |
{- "username": "username_for_login",
- "dates": [
- {
- "date": "2026-04-05",
- "services": [
- {
- "service": "UNIVERSAL",
- "processes": [
- {
- "process_type": "PLAN",
- "points_per_day": 2500,
- "unique_points_per_day": 1500,
- "elements_per_day": 250,
- "processes_per_day": 776
}
]
}
]
}
]
}Creating report with usage statistics. If the period is not specified, records are returned from the beginning of the month to the present day (excluding). If no from datetime is specified, data are returned from the beginning of the month. If no to datetime is specified, data are returned be the the present day (excluding). Empty service and process type fields mean returning statistics for all services and process types.
| from | string <date> Example: from=2026-04-22 Date |
| to | string <date> Example: to=2026-04-26 Date |
| service | string (service) Enum: "UNIVERSAL" "ROUTING" "ACCOUNT" … 7 more Example: service=UNIVERSAL Service name. |
| process_type | string (process_type) Enum: "NOTRACE" "TRACE" "PLAN" … 4 more Example: process_type=PLAN Process type. |
File with data in XLSX format.
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "username_for_login",
- "company": "smart_company",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "env": "edge7",
- "pod": "11111111-2222-3333-4444-555555555555",
- "time": "2026-04-21T09:30:00+03:00"
}, - "message": "bad data",
- "schema_errors": [ ]
}Checking the service availability.
| health required | number <double> [ 0 .. 1 ] Example: "0.999" The current health indicator of the service.
|
{- "health": 0.999
}Getting the service version.
| major required | integer <int32> [ 1 .. 100 ] Example: "7" Product version. Within a single version, compatibility of common data structures between services is guaranteed. A version change indicates changes that are incompatible with previous versions of the product (and all services). |
| minor required | integer <int32> [ 0 .. 111 ] Example: "15" Minor version of the service. A version change indicates new functionality. The update is backward compatible with the major version of the service. |
| build required | string [ 1 .. 64 ] characters Example: "3754RC" Build version. |
{- "major": 7,
- "minor": 15,
- "build": "3754RC"
}Getting the file with this service documentation.
| filename required | string [ 6 .. 128 ] characters Example: file_en.html File name. |
File with data in HTML format.
{- "resource_key": "resource_key_one",
- "detail": null
}