Search Modaic documentation

Find a Modaic guide or API reference

ReferenceAPIexamples

Get example

Get one example from a model repository.

GET/v1/models/{modelId}/examples/{exampleId}

Authorization

Authorizationstringrequired

Send a Modaic bearer token in the Authorization header.

Parameters

modelIdUUIDrequired

Model repository ID.

exampleIdUUIDrequired

Example ID.

Response

idUUIDrequired
stateany JSON valuerequired
sourceingest | liverequired

ingest for examples added through the examples API; live for examples captured from repository-model decisions.

imageUrlsstring[]required
annotationAnnotation | nullrequired

Ground truth, optional reasoning, and the stable train or test split.

latestDecisionDecision | nullrequired

The newest successful decision, including its model, answers, request, response, checkpoint, revision, source, and timestamp.

decisionCountintegerrequired
createdAtISO 8601 datetimerequired
updatedAtISO 8601 datetimerequired

Returns 404 example_not_found when the example does not exist in the model.

Was this page helpful?