The latest experiments of several datasets, with score means
const url = 'http://localhost:8080/api/v1/projects/example/dataset-trends?ids=example';const options = {method: 'GET', headers: {cookie: 'cetra_session=<cetra_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8080/api/v1/projects/example/dataset-trends?ids=example' \ --cookie cetra_session=<cetra_session>Any project member, or an API key with read. For each dataset of ids in the project, its 10 newest visible experiments with result and error counts, and their numeric and boolean score means (D-J-26). Storage busy or slow answers without scores and with scores_unavailable: true.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Project UUID, URL-encoded org-slug/project-slug, or current.
Query Parameters
Section titled “Query Parameters”Comma-separated dataset ids, 1 to 100 distinct UUIDs. Unknown ids are left out.
Responses
Section titled “Responses”The trends of each dataset, in request order.
The answer of the experiment trends (D-J-26).
object
One entry per dataset of the request that exists in the project, in request order.
The latest experiments of one dataset, newest first (D-J-26).
object
The dataset id.
Up to 10 visible experiments, newest first.
One of a dataset’s latest experiments in the trends answer (D-J-26).
object
Creation time. JSON is RFC 3339.
Results with an error.
The experiment id.
The experiment name.
Results of the experiment.
The numeric and boolean scores of the experiment. Omitted when storage could not read
them (scores_unavailable on the answer).
The score of an experiment: the mean and row count of one name and data type (D-J-26).
object
Score rows counted.
numeric or boolean. A boolean’s mean is its pass rate.
Mean of the values over the score rows. Omitted when no row has a value.
Score name.
running, completed or failed.
True when storage was busy or timed out, so no experiment has scores.
Example generated
{ "data": [ { "dataset_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "experiments": [ { "created_at": "2026-04-15T12:00:00Z", "error_count": 1, "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "result_count": 1, "scores": [ { "count": 1, "data_type": "example", "mean": 1, "name": "example" } ], "status": "example" } ] } ], "scores_unavailable": true}The request is malformed or a filter is invalid.
RFC 7807 problem document.
Spec 09 § Conventions.
object
Machine-readable error code.
Extra explanation. Omitted when absent.
Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.
One field that failed validation.
Spec 09 § Conventions.
object
Request field, query parameter, or expression the error refers to.
What is wrong with the field.
Location inside the field value, for filter and SQL errors.
object
1-based column number, in characters.
1-based line number, in characters.
HTTP status code.
Short human-readable summary, the reason phrase of status.
Problem type URI. Always about:blank in this version.
Example
{ "code": "bad_request"}No credentials, or the credentials are invalid.
RFC 7807 problem document.
Spec 09 § Conventions.
object
Machine-readable error code.
Extra explanation. Omitted when absent.
Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.
One field that failed validation.
Spec 09 § Conventions.
object
Request field, query parameter, or expression the error refers to.
What is wrong with the field.
Location inside the field value, for filter and SQL errors.
object
1-based column number, in characters.
1-based line number, in characters.
HTTP status code.
Short human-readable summary, the reason phrase of status.
Problem type URI. Always about:blank in this version.
Example
{ "code": "bad_request"}The credentials do not allow this operation, or the organization’s plan does not include it (code plan_required).
RFC 7807 problem document.
Spec 09 § Conventions.
object
Machine-readable error code.
Extra explanation. Omitted when absent.
Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.
One field that failed validation.
Spec 09 § Conventions.
object
Request field, query parameter, or expression the error refers to.
What is wrong with the field.
Location inside the field value, for filter and SQL errors.
object
1-based column number, in characters.
1-based line number, in characters.
HTTP status code.
Short human-readable summary, the reason phrase of status.
Problem type URI. Always about:blank in this version.
Example
{ "code": "bad_request"}The resource does not exist.
RFC 7807 problem document.
Spec 09 § Conventions.
object
Machine-readable error code.
Extra explanation. Omitted when absent.
Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.
One field that failed validation.
Spec 09 § Conventions.
object
Request field, query parameter, or expression the error refers to.
What is wrong with the field.
Location inside the field value, for filter and SQL errors.
object
1-based column number, in characters.
1-based line number, in characters.
HTTP status code.
Short human-readable summary, the reason phrase of status.
Problem type URI. Always about:blank in this version.
Example
{ "code": "bad_request"}Too many requests.
RFC 7807 problem document.
Spec 09 § Conventions.
object
Machine-readable error code.
Extra explanation. Omitted when absent.
Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.
One field that failed validation.
Spec 09 § Conventions.
object
Request field, query parameter, or expression the error refers to.
What is wrong with the field.
Location inside the field value, for filter and SQL errors.
object
1-based column number, in characters.
1-based line number, in characters.
HTTP status code.
Short human-readable summary, the reason phrase of status.
Problem type URI. Always about:blank in this version.
Example
{ "code": "bad_request"}