This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true to the request query parameters.
Read table data from an experiment artifact as a streamed binary response containing JSON. The response body is a JSON array of row objects, where each object maps column names to values. Results are paginated by row count with a default page size of 10 and a maximum of 100.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:models-read.
stringThe Resource Identifier (RID) of a Model.
stringThe Resource Identifier (RID) of an Experiment.
stringThe name of an experiment artifact.
integeroptionalMaximum number of rows to return. Default is 10, maximum is 100.
integeroptionalNumber of rows to skip from the beginning. Defaults to 0.
booleanoptionalEnables the use of preview functionality.
1
2
3
curl \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/models/ri.models.main.model.f351c142-0e4c-4b12-adc2-6e1539737ae9/experiments/ri.models.main.experiment.abc123/artifactTables/predictions_table/json?preview=true"| Error Name | ||
|---|---|---|
Experiment | Error Code | NOT_FOUND |
| Status Code | 404 | |
| Description | The requested artifact was not found in the experiment. | |
| Parameters | modelRid, experimentRid, artifactName | |
Model | Error Code | NOT_FOUND |
| Status Code | 404 | |
| Description | The requested experiment was not found or the user lacks permission to access it. | |
| Parameters | modelRid, experimentRid | |
Json | Error Code | PERMISSION_DENIED |
| Status Code | 403 | |
| Description | Could not json the ExperimentArtifactTable. | |
| Parameters | experimentRid, experimentArtifactTableName, modelRid | |
See Errors for a general overview of errors in the platform.