Create a New Task.
Create a new Task to process input. Upload one or more document(s) to process.
- Create a new task of a given
task_type. Additional type-specific configuration might be passed in viarequest_spec, if needed. - Optionally, a (unique)
external_idor anamefor the task can be specified. - A set of documents (files) to process (typically PDFs, text, or images, but in some cases
audio files as well) can be specified under
uploads.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Type of task to run.
""
Input file(s) for the task. Set the Mime type to application/json when uploading JSON data, or text/plain when uploading text. For all other file types use appropriate Mime types.
Optional task-type specific configuration input as a JSON parseable string. (eg: the type of clinical test to authorize).
An optional external ID for this task.
1024""
An optional user-friendly task name. If none is specified, a task name will be created based on extracted medical information.
""
An optional HTTP or HTTPS callback template to be invoked when the Task's status finishes processing. The pattern {uuid} will be expanded to the task's UUID, and {external_id} will be expanded to the string "null" or the percent-encoded representation of the specified external id. A GET request will be issued.
2048""
Response
Successful Response
A unique ID for the Task.
A Task's type. Determines what kind of processing is performed on the input data.
Current state of a task.
pending: The task is waiting to be processed.processing: The task is currently being processed.waiting: The task is waiting for additional input.completed: The task has completed processing.failed: An error occurred while the task was being processed.invalid: The data uploaded does not provide any information pertaining to the task to be performed.deferred: The bulk processing task has been put into a deferred state due to high load
pending, processing, waiting, completed, failed, invalid, deferred A user friendly name, based on information extracted from inputs.
cleared can be set to a timestamp indicating when follow-ups (work external to Synthpop) related to this Task have been completed. Initialized to null upon Task creation.
Timestamp indicating when this task was created.
Timestamp indicating when the latest status change for this task occurred. This indicates when a Task entered processing, waiting, completed or failed state. For pending tasks this is set to the same value as created.
Suggested task category, as determined by the medical records found.
- DataItemFile
- DataItemJSON
- DataItemText
Issues detected with this task or any medical records of it.
A generic task issue reported by the LLM.
- TaskIssueGenericLLM
- TaskIssueGenericLogic
- TaskIssueGenericWarning
- TaskIssueDataMissing
- TaskIssueMissingRecord
- TaskIssueIncorrectDocumentSequence
- TaskIssueInconsistentData
- TaskIssueExpired
- MedicalRecordIssueDataMissing
An optional third party assigned ID for the task.
1024List of verdicts for the task.
Optional interception data including structured_data with pages-details.
Per-code referral-validation conclusion summaries.

