List retrieval requests
curl --request GET \
--url https://enterprise.tavrn.ai/v2/retrieval-requests \
--header 'Authorization: Bearer <token>'import requests
url = "https://enterprise.tavrn.ai/v2/retrieval-requests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://enterprise.tavrn.ai/v2/retrieval-requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://enterprise.tavrn.ai/v2/retrieval-requests",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://enterprise.tavrn.ai/v2/retrieval-requests"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://enterprise.tavrn.ai/v2/retrieval-requests")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://enterprise.tavrn.ai/v2/retrieval-requests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"results": [
{
"id": "rr_abc123",
"group_id": "222222222222222222222222",
"order_number": "T-ABC-12345",
"case_id": "case_abc123",
"status": "processing",
"stage": "acknowledged",
"stage_label": "Request Acknowledged",
"patient": {
"name": "<string>",
"date_of_birth": "2023-12-25",
"address": "<string>",
"phone": "<string>",
"email": "jsmith@example.com",
"gender": "<string>",
"ssn": "<string>"
},
"facility": {
"name": "<string>",
"address_line1": "<string>",
"address_line2": "<string>",
"city": "<string>",
"state": "<string>",
"zip_code": "<string>",
"phone": "<string>",
"fax": "<string>"
},
"documents_summary": {
"records_count": 2,
"invoices_count": 1
},
"created_at": "2025-02-01T12:50:00Z",
"updated_at": "2025-02-03T09:14:21Z",
"public_updated_at": "2026-10-08T12:00:00.000Z",
"requested_records": [
{
"type": "medical_records",
"custom_label": "<string>",
"deliverable_format": "itemized",
"service_start_date": "2023-12-25",
"service_end_date": "2023-12-25",
"requirements": [
"<string>"
]
}
],
"requestor_id": "111111111111111111111111",
"metadata": {
"external_id": "request-123"
},
"draft_id": null,
"stripe_charge_ids": [
"ch_3AbCdE9FgHiJkLmN0pQrStUv"
],
"platform_url": "https://platform.tavrn.ai/cases/case_abc123?section=workflows%2Fretrieval-manager&view=detail&orderId=rr_abc123",
"action_required_reason": null,
"stage_description": "Your request is in progress with the provider. We follow up with them regularly and will post updates here.",
"timeline": [
{
"stage": "acknowledged",
"stage_label": "Correspondence Sent",
"state": "completed",
"occurred_at": "2025-02-02T10:30:00Z",
"description": "We've sent out your request via fax and will be following up with the provider to check in on progress.",
"checkpoints": [
{
"text": "Call completed at 2:14 PM to the facility.",
"occurred_at": "2025-02-01T19:14:00Z"
}
],
"action_request": {
"id": "car_abc123",
"status": "answered",
"description": "Please upload a signed HIPAA authorization dated within the last 12 months.",
"category": "payment_approval",
"response_text": "Uploaded the updated authorization.",
"response_option": "approve",
"responded_at": "2025-02-03T16:05:00Z",
"has_attachment": true
}
}
],
"pending_action_request": {
"id": "car_abc123",
"description": "The provider's invoice of $85.00 exceeds your approval limit. Do you approve payment?",
"category": "payment_approval",
"response_options": [
{
"key": "dispute_payment",
"label": "Dispute payment",
"requires_message": true,
"requires_attachment": false,
"attachment_types": null
}
],
"document": {
"file_name": "provider_invoice.pdf",
"file_size": 45123,
"file_type": "application/pdf",
"download_url": "https://s3.amazonaws.com/...",
"expires_in": 3600,
"expires_at": "2026-10-08T13:00:00.000Z"
}
},
"service_start_date": "2024-03-15",
"service_end_date": "2024-09-30",
"notes": null,
"documents": [
{
"id": "rrdoc_001",
"retrieval_request_id": "rr_abc123",
"category": "records",
"record_types": [
"medical_records"
],
"file_name": "example_general_hospital_records.pdf",
"file_size": 2456789,
"file_type": "application/pdf",
"page_count": 134,
"created_at": "2025-02-05T15:22:10Z",
"metadata": {
"provider_fee_amount": 85
},
"cms_external_id": "48213"
}
],
"completed_at": null,
"completion_detail": null
}
],
"next": "https://enterprise.tavrn.ai/v2/retrieval-requests?limit=20&cursor=next_cursor",
"previous": null,
"scan_until": "2026-10-08T12:00:00.000Z",
"next_public_updated_since": "2026-10-08T11:58:00.000Z"
}{
"error": {
"code": "validation_error",
"message": "The patient.date_of_birth field is required",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"param": "patient.date_of_birth",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#validation_error"
}
}{
"error": {
"code": "internal_error",
"message": "Internal server error",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#internal_error"
}
}{
"error": {
"code": "validation_error",
"message": "The patient.date_of_birth field is required",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"param": "patient.date_of_birth",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#validation_error"
}
}Retrieval Requests
List retrieval requests
List your organization’s retrieval requests. Use public_updated_since and include=details for incremental reconciliation. Follow next URLs unchanged, including after an empty page, and save next_public_updated_since only after processing the final page. This returns current state, not an event history or deletion feed. Omit mutable status, stage, and case filters for a complete sync. Ordinary listing remains available without public_updated_since.
GET
/
v2
/
retrieval-requests
List retrieval requests
curl --request GET \
--url https://enterprise.tavrn.ai/v2/retrieval-requests \
--header 'Authorization: Bearer <token>'import requests
url = "https://enterprise.tavrn.ai/v2/retrieval-requests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://enterprise.tavrn.ai/v2/retrieval-requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://enterprise.tavrn.ai/v2/retrieval-requests",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://enterprise.tavrn.ai/v2/retrieval-requests"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://enterprise.tavrn.ai/v2/retrieval-requests")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://enterprise.tavrn.ai/v2/retrieval-requests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"results": [
{
"id": "rr_abc123",
"group_id": "222222222222222222222222",
"order_number": "T-ABC-12345",
"case_id": "case_abc123",
"status": "processing",
"stage": "acknowledged",
"stage_label": "Request Acknowledged",
"patient": {
"name": "<string>",
"date_of_birth": "2023-12-25",
"address": "<string>",
"phone": "<string>",
"email": "jsmith@example.com",
"gender": "<string>",
"ssn": "<string>"
},
"facility": {
"name": "<string>",
"address_line1": "<string>",
"address_line2": "<string>",
"city": "<string>",
"state": "<string>",
"zip_code": "<string>",
"phone": "<string>",
"fax": "<string>"
},
"documents_summary": {
"records_count": 2,
"invoices_count": 1
},
"created_at": "2025-02-01T12:50:00Z",
"updated_at": "2025-02-03T09:14:21Z",
"public_updated_at": "2026-10-08T12:00:00.000Z",
"requested_records": [
{
"type": "medical_records",
"custom_label": "<string>",
"deliverable_format": "itemized",
"service_start_date": "2023-12-25",
"service_end_date": "2023-12-25",
"requirements": [
"<string>"
]
}
],
"requestor_id": "111111111111111111111111",
"metadata": {
"external_id": "request-123"
},
"draft_id": null,
"stripe_charge_ids": [
"ch_3AbCdE9FgHiJkLmN0pQrStUv"
],
"platform_url": "https://platform.tavrn.ai/cases/case_abc123?section=workflows%2Fretrieval-manager&view=detail&orderId=rr_abc123",
"action_required_reason": null,
"stage_description": "Your request is in progress with the provider. We follow up with them regularly and will post updates here.",
"timeline": [
{
"stage": "acknowledged",
"stage_label": "Correspondence Sent",
"state": "completed",
"occurred_at": "2025-02-02T10:30:00Z",
"description": "We've sent out your request via fax and will be following up with the provider to check in on progress.",
"checkpoints": [
{
"text": "Call completed at 2:14 PM to the facility.",
"occurred_at": "2025-02-01T19:14:00Z"
}
],
"action_request": {
"id": "car_abc123",
"status": "answered",
"description": "Please upload a signed HIPAA authorization dated within the last 12 months.",
"category": "payment_approval",
"response_text": "Uploaded the updated authorization.",
"response_option": "approve",
"responded_at": "2025-02-03T16:05:00Z",
"has_attachment": true
}
}
],
"pending_action_request": {
"id": "car_abc123",
"description": "The provider's invoice of $85.00 exceeds your approval limit. Do you approve payment?",
"category": "payment_approval",
"response_options": [
{
"key": "dispute_payment",
"label": "Dispute payment",
"requires_message": true,
"requires_attachment": false,
"attachment_types": null
}
],
"document": {
"file_name": "provider_invoice.pdf",
"file_size": 45123,
"file_type": "application/pdf",
"download_url": "https://s3.amazonaws.com/...",
"expires_in": 3600,
"expires_at": "2026-10-08T13:00:00.000Z"
}
},
"service_start_date": "2024-03-15",
"service_end_date": "2024-09-30",
"notes": null,
"documents": [
{
"id": "rrdoc_001",
"retrieval_request_id": "rr_abc123",
"category": "records",
"record_types": [
"medical_records"
],
"file_name": "example_general_hospital_records.pdf",
"file_size": 2456789,
"file_type": "application/pdf",
"page_count": 134,
"created_at": "2025-02-05T15:22:10Z",
"metadata": {
"provider_fee_amount": 85
},
"cms_external_id": "48213"
}
],
"completed_at": null,
"completion_detail": null
}
],
"next": "https://enterprise.tavrn.ai/v2/retrieval-requests?limit=20&cursor=next_cursor",
"previous": null,
"scan_until": "2026-10-08T12:00:00.000Z",
"next_public_updated_since": "2026-10-08T11:58:00.000Z"
}{
"error": {
"code": "validation_error",
"message": "The patient.date_of_birth field is required",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"param": "patient.date_of_birth",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#validation_error"
}
}{
"error": {
"code": "internal_error",
"message": "Internal server error",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#internal_error"
}
}{
"error": {
"code": "validation_error",
"message": "The patient.date_of_birth field is required",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"param": "patient.date_of_birth",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#validation_error"
}
}Authorizations
API key authentication. Use format: Authorization: Bearer tavrn_sk_live_... Live keys (tavrn_sk_live_...) work only against https://enterprise.tavrn.ai; sandbox test keys (tavrn_sk_test_..., from https://sandbox.tavrn.ai) work only against https://sandbox.tavrn.ai.
Headers
Query Parameters
Response
Successful response