Retrieve the extraction data
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
hashid
string
required
include_archived_files
boolean
Include extractions from archived files. Defaults to false.
truefalse
include_data
boolean
Include extraction data in the response.
truefalse
last_n_days
integer
Filter by the last N days.
reference_id
string
Filter by document reference ID.
search
string
Search across file name, reference ID, classification, schema, source institution, subject, account number, and phone number.
uploaded_by_phone_number
string
Filter by the clean phone number that uploaded the file.
``200
object
id
integer
required
subject
string
required
Get the subject of the extraction.
sha
string
required
file_record_name
string
required
Get the name of the file record.
document_classification
string
required
length ≤ 255
schema
string | null
source_institution
string | null
pertinent_document_subject
string | null
account_or_reference_number
string | null
date_start_year
integer | null
-2147483648 to 2147483647
date_start_month
integer | null
-2147483648 to 2147483647
date_end_year
integer | null
-2147483648 to 2147483647
date_end_month
integer | null
-2147483648 to 2147483647
reporting_time_periods
string
parameters
object
required
Get the extraction function parameters.
Has additional fields
time_period_parameters
object
required
Get the time period parameters.
Has additional fields
relevant_page_numbers
array of integers
required
created_at
date-time
required
updated_at
date-time
required
extraction_data
object
required
Get the extraction data if requested.
Has additional fields
uploaded_by_phone_number
string
required
Get the clean phone number from the associated PhoneNumber record.
\n --url https://api.flextract.dev/api/extractions/hashid/ \
\n --header 'accept: application/json'\
{
"id": 0,
"subject": "string",
"sha": "string",
"file_record_name": "string",
"document_classification": "string",
"schema": "string",
"source_institution": "string",
"pertinent_document_subject": "string",
"account_or_reference_number": "string",
"date_start_year": 0,
"date_start_month": 0,
"date_end_year": 0,
"date_end_month": 0,
"parameters": {},
"time_period_parameters": {},
"relevant_page_numbers": [
0
],
"created_at": "2026-07-18T07:09:12.600Z",
"updated_at": "2026-07-18T07:09:12.600Z",
"extraction_data": {},
"uploaded_by_phone_number": "string"
}