Get the current status and results of a file.
All API requests require an API key to be included in the headers:
Authorization: Bearer [access-key]
https://infer.intron.health/file/v1/status/:file_id
Field | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
file_id |
String | the file id generated in response when the file was queued | yes |
Field | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
get_structured_post_processing |
String | if true the post-processed results will be structured as json else it will be a MarkDown formated text | no | f | f|t |
curl --location 'https://infer.intron.health/file/v1/status/file-id' \
--header 'Authorization: Bearer my-api-key'
import requests
url = "https://infer.intron.health/file/v1/status/file-id"
payload = {}
headers = {
'Authorization': 'Bearer my-api-key'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
const myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer my-api-key");
const requestOptions = {
method: "GET",
headers: myHeaders
};
fetch("https://infer.intron.health/file/v1/status/file-id", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
{
"status": "Ok",
"message": "file status found",
"data": {
"processing_status": "FILE_TRANSCRIBED",
"audio_file_name": "file-1",
"audio_transcript": "hello world",
"processed_audio_duration_in_seconds": 20
}
}
{
"status": "Ok",
"message": "file status found",
"data": {
"processing_status": "FILE_TRANSCRIBED",
"audio_file_name": "file-1",
"audio_transcript": "
SPEAKER_01: Hello world.
SPEAKER_02: Welcome.
",
"processed_audio_duration_in_seconds": 20
}
}
curl --location 'https://infer.intron.health/file/v1/status/file-id' \
--header 'Authorization: Bearer my-api-key'
import requests
url = "https://infer.intron.health/file/v1/status/file-id"
payload = {}
headers = {
'Authorization': 'Bearer my-api-key'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
const myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer my-api-key");
const requestOptions = {
method: "GET",
headers: myHeaders
};
fetch("https://infer.intron.health/file/v1/status/file-id", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
{
"status": "Ok",
"message": "file status found",
"data": {
"processing_status": "FILE_TRANSCRIBED",
"audio_file_name": "file-1",
"audio_transcript": "hello world",
"processed_audio_duration_in_seconds": 20,
"transcript_soap_note": "MarkDown formated text",
"transcript_summary": "MarkDown formated text",
"transcript_suggestions": "MarkDown formated text",
"transcript_differential_diagnosis": "MarkDown formated text",
"transcript_followup_instructions": "MarkDown formated text",
"transcript_practice_guidelines": "MarkDown formated text",
"transcript_entity_list": "MarkDown formated text",
"transcript_treatment_plan": "MarkDown formated text",
"transcript_clerking": "MarkDown formated text",
"transcript_icd_codes": "MarkDown formated text"
}
}
curl --location 'https://infer.intron.health/file/v1/status/file-id' \
--header 'Authorization: Bearer my-api-key'
import requests
url = "https://infer.intron.health/file/v1/status/file-id"
payload = {}
headers = {
'Authorization': 'Bearer my-api-key'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
const myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer my-api-key");
const requestOptions = {
method: "GET",
headers: myHeaders
};
fetch("https://infer.intron.health/file/v1/status/file-id", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
{
"status": "Ok",
"message": "file status found",
"data": {
"processing_status": "FILE_TRANSCRIBED",
"audio_file_name": "file-1",
"audio_transcript": "hello world",
"processed_audio_duration_in_seconds": 20,
"transcript_soap_note": {
"text": "MarkDown formated text",
"subjective": "",
"objective": "",
"assessment": "",
"plan": ""
},
"transcript_summary": {
"text": "MarkDown formated text"
},
"transcript_suggestions": {
"text": "MarkDown formated text"
},
"transcript_differential_diagnosis": {
"text": "MarkDown formated text"
},
"transcript_followup_instructions": {
"text": "MarkDown formated text"
},
"transcript_practice_guidelines": {
"text": "MarkDown formated text"
},
"transcript_icd_codes": {
"text": "MarkDown formated text"
},
"transcript_entity_list": {
"text": "MarkDown formated text",
"patient_complaints": "",
"relevant_medical/surgical_history": "",
"examinations_and_examination_findings": ""
"medical_diagnosis": ""
},
"transcript_treatment_plan": {
"text":"MarkDown formated text"
},
"transcript_clerking": {
"text":"MarkDown formated text",
"presenting_complaint_(pc)": "",
"history_of_presenting_complaint_(hpc)": "",
"past_medical_and_surgical_history_(pmhx)": "",
"physical_examination_(pe)": ""
}
}
}
curl --location 'https://infer.intron.health/file/v1/status/file-id?get_structured_post_processing=t' \
--header 'Authorization: Bearer my-api-key'
import requests
url = "https://infer.intron.health/file/v1/status/file-id?get_structured_post_processing=t"
payload = {}
headers = {
'Authorization': 'Bearer my-api-key'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
const myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer my-api-key");
const requestOptions = {
method: "GET",
headers: myHeaders
};
fetch("https://infer.intron.health/file/v1/status/file-id?get_structured_post_processing=t", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
curl --location 'https://infer.intron.health/file/v1/status/legal-uuid-1234' \
--header 'Authorization: Bearer my-api-key'
import requests
url = "https://infer.intron.health/file/v1/status/legal-uuid-1234"
payload = {}
headers = {
'Authorization': 'Bearer my-api-key'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
const myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer my-api-key");
const requestOptions = {
method: "GET",
headers: myHeaders
};
fetch("https://infer.intron.health/file/v1/status/legal-uuid-1234", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
{
"status": "Ok",
"message": "file status found",
"data": {
"processing_status": "FILE_TRANSCRIBED",
"audio_file_name": "legal_case_1",
"audio_transcript": "Court hearing transcript...",
"processed_audio_duration_in_seconds": 120,
"transcript_legal_court_hearing": "[Court hearing format transcript here]"
}
}
curl --location 'https://infer.intron.health/file/v1/status/callcenter-uuid-1234' \
--header 'Authorization: Bearer my-api-key'
import requests
url = "https://infer.intron.health/file/v1/status/callcenter-uuid-1234"
payload = {}
headers = {
'Authorization': 'Bearer my-api-key'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
const myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer my-api-key");
const requestOptions = {
method: "GET",
headers: myHeaders
};
fetch("https://infer.intron.health/file/v1/status/callcenter-uuid-1234", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
{
"status": "Ok",
"message": "file status found",
"data": {
"processing_status": "FILE_TRANSCRIBED",
"audio_file_name": "call_center_1",
"audio_transcript": "Call center transcript...",
"processed_audio_duration_in_seconds": 180,
"transcript_summary": "Summary of the call",
"transcript_call_center_results": "Call resolution details...",
"transcript_call_center_agent_score": "Agent score details...",
"transcript_call_center_agent_score_category": "Performance assessment...",
"transcript_call_center_product_info": "Product info discussed...",
"transcript_call_center_product_insights": "Product insights...",
"transcript_call_center_compliance": "Compliance check details...",
"transcript_call_center_feedback": "Feedback from the call...",
"transcript_call_center_sentiment": "Sentiment analysis..."
}
}
curl --location 'https://infer.intron.health/file/v1/status/procedure-uuid-1234' \
--header 'Authorization: Bearer my-api-key'
import requests
url = "https://infer.intron.health/file/v1/status/procedure-uuid-1234"
payload = {}
headers = {
'Authorization': 'Bearer my-api-key'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
const myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer my-api-key");
const requestOptions = {
method: "GET",
headers: myHeaders
};
fetch("https://infer.intron.health/file/v1/status/procedure-uuid-1234", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
{
"status": "Ok",
"message": "file status found",
"data": {
"processing_status": "FILE_TRANSCRIBED",
"audio_file_name": "procedure_1",
"audio_transcript": "Procedure transcript...",
"processed_audio_duration_in_seconds": 90,
"transcript_summary": "Summary of the procedure",
"transcript_entity_list": "Entities extracted...",
"transcript_treatment_plan": "Treatment plan...",
"transcript_op_note": "Operation note...",
"transcript_icd_codes": "ICD/Billing codes...",
"transcript_suggestions": "Suggestions..."
}
}
curl --location 'https://infer.intron.health/file/v1/status/meetingnotes-uuid-1234' \
--header 'Authorization: Bearer my-api-key'
import requests
url = "https://infer.intron.health/file/v1/status/meetingnotes-uuid-1234"
payload = {}
headers = {
'Authorization': 'Bearer my-api-key'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
const myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer my-api-key");
const requestOptions = {
method: "GET",
headers: myHeaders
};
fetch("https://infer.intron.health/file/v1/status/meetingnotes-uuid-1234", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
{
"status": "Ok",
"message": "file status found",
"data": {
"processing_status": "FILE_TRANSCRIBED",
"audio_file_name": "meeting_notes_1",
"audio_transcript": "Meeting notes transcript...",
"processed_audio_duration_in_seconds": 60,
"transcript_summary": "Comprehensive meeting summary...",
"transcript_meeting_notes_participants": "List of participants and roles...",
"transcript_meeting_notes_decisions": "Key decisions made...",
"transcript_meeting_notes_action_items": "Action items and owners...",
"transcript_meeting_notes_key_topics": "Main topics discussed...",
"transcript_meeting_notes_next_steps": "Follow-up steps and next meeting plans..."
}
}