Metrics and errors
Metrics and errors related to the pipelines, including both import/export processes and the sending or receiving of events within the pipelines.
Get metrics per dates
Retrieves metrics for pipelines aggregated by day for a time interval between specified start and end dates.
Request
-
:start
date RequiredThe starting date (inclusive) in ISO 8601
YYYY-MM-DDformat, interpreted as UTC. It must be earlier than the end date.The date must be no earlier than 1970-01-01 and no later than 2262-04-11.
-
:end
date RequiredThe ending date (exclusive) in ISO 8601
YYYY-MM-DDformat, interpreted as UTC. It must be later than the start date.The date must be no earlier than 1970-01-01 and no later than 2262-04-11.
-
pipelines
array of int RequiredThe IDs of the pipelines for which metrics should be returned. At least one pipeline must be provided. The request does not fail if a pipeline does not exist.
Response
-
start
datetimeThe starting date (inclusive), returned as an ISO 8601 UTC timestamp in the format
YYYY-MM-DDT00:00:00Z. -
end
datetimeThe ending date (exclusive), returned as an ISO 8601 UTC timestamp in the format
YYYY-MM-DDT00:00:00Z. -
passed
array of array of intThe number of users or events that successfully passed each step on each hour within the start and end dates.
-
failed
array of array of intThe number of users or events that failed at each step on each hour within the start and end dates.
curl -G https://example.com/v1/pipelines/metrics/dates/2026-01-15/2026-02-30 \ -H "Authorization: Bearer api_xxxxxxx" \ -d "pipelines=705981339,1360924687" {
"start": "2026-01-15T00:00:00Z",
"end": "2026-02-30T00:00:00Z",
"passed": [
[
6029,
6029,
5974,
5974,
5974,
5974
]
],
"failed": [
[
0,
0,
55,
0,
0,
0
]
]
}Get metrics per day
Retrieves metrics for pipelines for a specified number of days up to the current time.
Request
-
:days
int RequiredThe number of days, ranging from 1 to 30.
-
pipelines
array of int RequiredThe IDs of the pipelines for which metrics should be returned. At least one pipeline must be provided. The request does not fail if a pipeline does not exist.
Response
-
start
datetimeThe starting date (inclusive), returned as an ISO 8601 UTC timestamp in the format
YYYY-MM-DDT00:00:00Z. -
end
datetimeThe ending date (exclusive), returned as an ISO 8601 UTC timestamp in the format
YYYY-MM-DDT00:00:00Z. -
passed
array of array of intThe number of users or events that successfully passed each step on each hour within the start and end dates.
-
failed
array of array of intThe number of users or events that failed at each step on each hour within the start and end dates.
curl -G https://example.com/v1/pipelines/metrics/days/7 \ -H "Authorization: Bearer api_xxxxxxx" \ -d "pipelines=705981339,1360924687" {
"start": "2026-01-15T00:00:00Z",
"end": "2026-02-22T00:00:00Z",
"passed": [
[
6029,
6029,
5974,
5974,
5974,
5974
]
],
"failed": [
[
0,
0,
55,
0,
0,
0
]
]
}Get metrics per hour
Retrieves metrics for pipelines for a specified number of hours up to the current time.
Request
-
:hours
int RequiredThe number of hours, ranging from 1 to 48.
-
pipelines
array of int RequiredThe IDs of the pipelines for which metrics should be returned. At least one pipeline must be provided. The request does not fail if a pipeline does not exist.
Response
-
start
datetimeThe starting time (inclusive), returned as an ISO 8601 UTC timestamp in the format
YYYY-MM-DDTHH:00:00Z. -
end
datetimeThe ending time (exclusive), returned as an ISO 8601 UTC timestamp in the format
YYYY-MM-DDTHH:00:00Z. -
passed
array of array of intThe number of users or events that successfully passed each step on each hour within the start and end dates.
-
failed
array of array of intThe number of users or events that failed at each step on each hour within the start and end dates.
curl -G https://example.com/v1/pipelines/metrics/hours/12 \ -H "Authorization: Bearer api_xxxxxxx" \ -d "pipelines=705981339,1360924687" {
"start": "2026-01-15T09:00:00Z",
"end": "2026-01-15T21:00:00Z",
"passed": [
[
6029,
6029,
5974,
5974,
5974,
5974
]
],
"failed": [
[
0,
0,
55,
0,
0,
0
]
]
}Get metrics per minute
Retrieves metrics for pipelines for a specified number of minutes up to the current time.
Request
-
:minutes
int RequiredThe number of minutes, ranging from 1 to 60. By default, it is 60.
-
pipelines
array of int RequiredThe IDs of the pipelines for which metrics should be returned. At least one pipeline must be provided. The request does not fail if a pipeline does not exist.
Response
-
start
datetimeThe starting time (inclusive), returned as an ISO 8601 UTC timestamp in the format
YYYY-MM-DDTHH:mm:00Z. -
end
datetimeThe ending time (exclusive), returned as an ISO 8601 UTC timestamp in the format
YYYY-MM-DDTHH:mm:00Z. -
passed
array of array of intThe number of users or events that successfully passed each step on each hour within the start and end dates.
-
failed
array of array of intThe number of users or events that failed at each step on each hour within the start and end dates.
curl -G https://example.com/v1/pipelines/metrics/minutes/15 \ -H "Authorization: Bearer api_xxxxxxx" \ -d "pipelines=705981339,1360924687" {
"start": "2026-01-02T09:49:00Z",
"end": "2026-01-02T10:04:00Z",
"passed": [
[
6029,
6029,
5974,
5974,
5974,
5974
]
],
"failed": [
[
0,
0,
55,
0,
0,
0
]
]
}Get errors
Retrieves errors for pipelines for a time interval between specified start and end dates.
Request
-
:start
datetime RequiredThe starting time (inclusive) in ISO 8601
YYYY-MM-DDTHH:mm:ssformat, interpreted as UTC. It must be earlier than the end time.The time must be no earlier than 1970-01-01 00:00:00 and no later than 2262-04-11 23:47:00.
-
:end
datetime RequiredThe ending time (exclusive) in ISO 8601
YYYY-MM-DDTHH:mm:ssformat, interpreted as UTC. It must be later than the start time.The time must be no earlier than 1970-01-01 00:00:00 and no later than 2262-04-11 23:47:00.
-
pipelines
array of int RequiredThe IDs of the pipelines for which errors should be returned. At least one pipeline must be provided. The request does not fail if a pipeline does not exist within the workspace.
The pipelines can be specified in the query string in this way:
pipelines=705981339&pipelines=1360924687 -
step
stringThe pipeline step for which errors should be returned. If no step is specified, errors will be returned for all steps.
Possible values:"Receive","InputValidation","Filter","Transformation","OutputValidation"or"Finalize". -
first
intThe number of errors to skip before starting to return errors. It must be between 0 and 9999, with a default value of 0.
-
limit
intThe maximum number of errors to return. It must be between 1 and 100, with a default value of 100.
Response
-
errors
array of objectThe errors that occurred during the specified period for the provided pipelines.
-
pipeline
intThe pipeline in which the error occurred.
-
step
stringThe step where the error occurred.
Possible values:"Receive","InputValidation","Filter","Transformation","OutputValidation"or"Finalize". -
count
intThe number of occurrences of the error within the specified period.
-
message
stringThe error message.
-
lastOccurred
datetimeThe time of the last occurrence of the error within the specified period, returned as an ISO 8601 UTC timestamp in the format
YYYY-MM-DDTHH:mm:00Z.
-
curl -G https://example.com/v1/pipelines/errors/2026-01-02T09%3A49%3A12/2026-01-02T12%3A30%3A00 \ -H "Authorization: Bearer api_xxxxxxx" \ -d "pipelines=705981339,1360924687" {
"errors": [
{
"pipeline": 705981339,
"step": "Transformation",
"count": 2,
"message": "property «email» has a value that is not of type «string»",
"lastOccurred": "2026-01-02T10:25:00Z"
}
]
}