Delete job

DELETE /batch-processor/:id

This endpoint deletes a specific Batch Processor job. If the job has associated objects stored in Daily's S3 bucket, this call will also delete those objects.

Objects stored in a custom bucket are not deleted. The API response is the same as Get job status. The output key in the response provides enough information to delete any object stored in the custom bucket.

Response definitions

Top-level:

Attribute NameTypeDescriptionExample
idstringThe ID of the job"3ab8faa2-8ba2-4ee6-bd15-003a92c18245"
presetstringThe preset given when submitting the job"recordingId"
statusstringThe status of the job: ["submitted", "processing", "finished", "error"]"finished"
inputobjectThe input configuration{...}
outputobjectThe output attributes{...}
errorstringDetails of error"Failed to delete transcriptions"

In the input object:

Attribute NameTypeDescriptionExample
sourceTypestringThe sourceType given when submitting the job"recordingId"
recordingIdstringThe recording ID (when using this sourceType)"uuiasdfe-8ba2-4ee6-bd15-003a92c18245"
uristringThe video/audio link URL (when using this sourceType)"https://direct-url-to/file.mp4"

In the output object:

Attribute NameTypeDescriptionExample
transcriptionlistA list of transcript outputs[...]
conceptobjectOutput for the medical concepts used in SOAP note generation{...}
soapobjectOutput for the SOAP note{...}
summaryobjectOutput for the summary job{...}

In the output.transcription list:

Attribute NameTypeDescriptionExample
formatstringThe filetype of the transcript"txt"
s3Config.keystringThe S3 object location of the file"bucket-name/uuiasdfe-8ba2-4ee6-bd15-003a92c18245/transcript/output.txt"
s3Config.bucketstringThe S3 bucket name"bucket-name"
s3Config.regionstringThe S3 region for the output"us-west-2"

In the output.concept object:

Attribute NameTypeDescriptionExample
formatstringThe filetype of the concepts"json"
s3Config.keystringThe S3 object location of the file"your-daily-domain/uuiasdfe-8ba2-4ee6-bd15-003a92c18245/transcript/output.txt"
s3Config.bucketstringThe S3 bucket name"bucket-name"
s3Config.regionstringThe S3 region for the output"us-west-2"

In the output.soap object:

Attribute NameTypeDescriptionExample
formatstringThe filetype of the SOAP note"json"
s3Config.keystringThe S3 object location of the file"your-daily-domain/uuiasdfe-8ba2-4ee6-bd15-003a92c18245/transcript/output.txt"
s3Config.bucketstringThe S3 bucket name"bucket-name"
s3Config.regionstringThe S3 region for the output"us-west-2"

In the output.summary object:

Attribute NameTypeDescriptionExample
formatstringThe filetype of the summary"txt"
s3Config.keystringThe S3 object location of the file"your-daily-domain/uuiasdfe-8ba2-4ee6-bd15-003a92c18245/transcript/output.txt"
s3Config.bucketstringThe S3 bucket name"bucket-name"
s3Config.regionstringThe S3 region for the output"us-west-2"

Examples