Get Apollo model run status & results

Retrieve the details of an existing Apollo model run, including results if they are available.

Authentication

x-api-keystring
Your API Activation Key

Path parameters

model_run_idstringRequiredformat: "uuid"

Response

Details of model run's current state
idstringformat: "uuid"
The id of the existing model run
createdAtdatetime
When the model run was submitted to the API
statusenum
Current status of the model run. Possible values: * `CREATED`: Model run created; Waiting for files to be uploaded or thymia activities to be completed * `RUNNING`: All input to model has been supplied and the model is being executed * `COMPLETE_OK`: Model execution completed ok and results are available * `COMPLETE_ERROR`: Model execution completed with error and no results available
Allowed values:
userLabelstring
Label of the user that this model run was submitted for
deleteDataboolean
Boolean flag indicating if user data is to be deleted after the completion of the model run.
runAtdatetime or null

The time the model run started executing and the status changed to RUNNING. This is after all input to the model has been supplied

completedAtdatetime or null

When the model run finished processing and either results or an error reason are available; only populated once the model run completes

errorReasonstring or null

Only populated if the model run ended with COMPLETE_ERROR status

warningslist of strings or null
Contain warnings about potential issues that occurred during the model run.
resultsobject or null
Model results containing mental health indicators. Only populated if the model run ended with `COMPLETE_OK` status. Results include: - **disorders**: Depression and anxiety assessments with probability (0-1) and severity (0-1) scores - **symptoms**: Detailed symptom breakdowns for each disorder, including: - Depression symptoms: anhedonia, low mood, sleep issues, low energy, appetite issues, worthlessness, concentration issues, psychomotor issues - Anxiety symptoms: nervousness, uncontrollable worry, excessive worry, trouble relaxing, restlessness, irritability, dread - Each symptom includes severity (0-1) and distribution across none/mild/moderate/severe categories
reportobject or null

URLs to access the Apollo report. Only populated if the model run ended with COMPLETE_OK status

errorCodeenum or null
Only populated if the model run ended with `COMPLETE_ERROR` status. Meaning of each error code: * `ERR_RECORDING_INVALID_FORMAT` - One or more recordings supplied are in an unsupported format. * `ERR_RECORDING_TOO_SHORT` - One or more recordings supplied contained less than the minimum required amount of speech. * `ERR_RECORDING_TOO_LONG` - One or more recordings supplied exceeded the maximum allowed length. * `ERR_TRANSCRIPTION_FAILED` - Couldn't determine speech in one or more recordings supplied. * `ERR_INTERNAL` - An internal error occurred.
Allowed values:
modelstring or null
The version of model used in the model run.

Errors