API schemas, A to E

Updated

54 named objects of the Fax for Agents API, from Accepted to ExtractionSchemaList, as the API sends and accepts them. From the OpenAPI document version 1.20.0, snapshot of 2026-11-13. All 173 schemas are listed by name.

Accepted

Accepted fields
FieldTypeRequiredDescription
organizationobject OrganizationSummaryyes

Agent

Agent fields
FieldTypeRequiredDescription
budget_idstring or nullyes
budgetsarray of objectyes
contact_emailstring or nullyes
created_atstringyes
created_bystringyes
disabled_atstring or nullyes
enabledbooleanyes
idstringyes
keysarray of object ApiKeyyes
namestringyes
policy_idsarray of stringyes
project_idstring or nullyes
purposestring or nullyes
statusstringyes
updated_atstringyes

AgentActivity

AgentActivity fields
FieldTypeRequiredDescription
actionstringyes
actorstringyes
correlation_idstring or nullyes
created_atstringyes
dataobjectyes
idstringyes
resource_idstring or nullyes
resource_typestringyes

AgentActivityPage

AgentActivityPage fields
FieldTypeRequiredDescription
itemsarray of object AgentActivityyes
next_cursorstring or nullno

AgentCreate

AgentCreate fields
FieldTypeRequiredDescription
contact_emailstring or nullnoWhere decided approvals are mailed.
namestringyes
policy_idsarray of stringno
purposestring or nullnoShown to humans, never evaluated.

AgentKeyCreate

AgentKeyCreate fields
FieldTypeRequiredDescription
environmentstring (live, test)no
expires_in_daysinteger or nullno
labelstringno
scopesarray of string or nullnoOmit for the default agent set. Never approval:decide, key:admin, policy:admin, agent:admin.

AgentList

AgentList fields
FieldTypeRequiredDescription
itemsarray of object Agentyes

AgentUpdate

AgentUpdate fields
FieldTypeRequiredDescription
contact_emailstring or nullno
enabledboolean or nullnofalse revokes every key of the agent.
namestring or nullno
policy_idsarray of string or nullno
purposestring or nullno

ApiKey

ApiKey fields
FieldTypeRequiredDescription
agent_idstring or nullyes
connected_appbooleannoThe key belongs to a connected app used over stdio, such as the Gemini CLI extension. The organization's auto-send setting (Settings, Connected apps) binds it like an OAuth connection.
created_atstringyes
environmentstring (live, test)yes
expires_atstring or nullyes
idstringyes
labelstringyes
last_used_atstring or nullyes
prefixstringyes
project_idstring or nullyes
revoked_atstring or nullyes
rotated_from_idstring or nullyes
scopesarray of stringyes

ApiKeyCreate

ApiKeyCreate fields
FieldTypeRequiredDescription
connected_appbooleannoThis key is for a connected app such as the Gemini CLI extension: the auto-send setting binds it. Not available on an agent's key.
environmentstring (live, test)no
expires_in_daysinteger or nullno
labelstringyes
scopesarray of string or nullnoOmit for the default agent set; '*' for all.

ApiKeyList

ApiKeyList fields
FieldTypeRequiredDescription
itemsarray of object ApiKeyyes

ApiKeyWithSecret

ApiKeyWithSecret fields
FieldTypeRequiredDescription
agent_idstring or nullyes
connected_appbooleannoThe key belongs to a connected app used over stdio, such as the Gemini CLI extension. The organization's auto-send setting (Settings, Connected apps) binds it like an OAuth connection.
created_atstringyes
environmentstring (live, test)yes
expires_atstring or nullyes
idstringyes
labelstringyes
last_used_atstring or nullyes
prefixstringyes
project_idstring or nullyes
revoked_atstring or nullyes
rotated_from_idstring or nullyes
scopesarray of stringyes
secretstringyesShown once. Store it now; it cannot be read back.

ApprovalDecision

ApprovalDecision fields
FieldTypeRequiredDescription
reasonstring or nullno

ApprovalRequest

ApprovalRequest fields
FieldTypeRequiredDescription
boundobjectyes
consumed_by_job_idstring or nullyes
created_atstringyes
decided_atstring or nullyes
decided_bystring or nullyes
expires_atstring or nullyes
idstringyes
kindstring (send, help)yes
messagestring or nullyes
notifiedboolean or nullnoOn creation: whether the organization was mailed. false when the request repeats a pending one or the organization's daily cap of request mails is reached; the request is still shown in the dashboard.
quote_idstring or nullyes
reasonstring or nullyes
requested_bystringyes
statusstring (pending, approved, rejected, revoked, expired)yes

ApprovalRequestCreate

ApprovalRequestCreate fields
FieldTypeRequiredDescription
fax_job_idstring or nullno
kindstring (send, help)no
messagestring or nullnoWhat the person should know (kind help). Shown as data.
quote_idstring or nullnoThe quote to bind (kind send).

ApprovalRequestPage

ApprovalRequestPage fields
FieldTypeRequiredDescription
itemsarray of object ApprovalRequestyes
next_cursorstring or nullno

Attempt

Attempt fields
FieldTypeRequiredDescription
attempt_numberintegeryes
errorstring or nullyes
evidenceobject or nullyes
failure_codestring or nullyes
fax_job_idstringyes
finished_atstring or nullyes
idstringyes
pages_sentintegeryes
providerstringyes
provider_refstring or nullyes
started_atstringyes
statusstringyes

AttemptPage

AttemptPage fields
FieldTypeRequiredDescription
itemsarray of object Attemptyes

AutoSendSetting

The organization's auto-send setting for one environment: Settings, Connected apps, "Let connected apps send without asking". Stored as the managed policy ``policy_id`` (docs/APPROVALS.md).

AutoSendSetting fields
FieldTypeRequiredDescription
daily_max_jobsintegeryesFaxes per UTC day, at most, across every connected app.
enabledbooleanyes
environmentstring (live, test)yes
max_amount_microintegeryesAmount per fax, at most, in micro-units of USD.
policy_idstring or nullyesThe managed policy; null before the first enable.
versioninteger or nullyes

AutoSendUpdate

AutoSendUpdate fields
FieldTypeRequiredDescription
daily_max_jobsintegernoFaxes per UTC day.
enabledbooleanyes
max_amount_microintegernoAmount per fax, at most, in micro-units of USD (5000000 = $5.00).

AutoTopup

AutoTopup fields
FieldTypeRequiredDescription
amount_microintegeryes
created_atstringyes
daily_cap_microintegeryes
disabled_atstring or nullyes
environmentstring (live, test)yes
idstringyes
last_attempt_atstring or nullyes
payment_method_savedbooleanyes
setup_session_idstring or nullyes
setup_urlstring or nullnoWhere to save the card while status is pending_setup.
statusstring (pending_setup, active, disabled)yes
threshold_microintegeryes
updated_atstringyes

AutoTopupCreate

AutoTopupCreate fields
FieldTypeRequiredDescription
amount_microintegeryesWhole dollars, 10 to 1000 USD.
daily_cap_microintegeryesNever more than this per UTC day.
threshold_microintegeryesTop up when the available balance drops below this.

AutoTopupList

AutoTopupList fields
FieldTypeRequiredDescription
itemsarray of object AutoTopupyes

Balance

Balance fields
FieldTypeRequiredDescription
available_microintegeryes
currencystringyes
environmentstring (live, test)yes
held_microintegeryes
top_up_urlstring or nullnoThe dashboard page where a person adds funds to the wallet. A key cannot top up.

BillingSettings

BillingSettings fields
FieldTypeRequiredDescription
billing_emailstring or nullyes
disputedbooleanyes
low_balance_activebooleanyes
low_balance_threshold_microintegeryes
org_idstringyes
stripe_customerbooleanyes
workspacebooleanyes

BillingSettingsPatch

BillingSettingsPatch fields
FieldTypeRequiredDescription
billing_emailstring (email) or nullno
low_balance_threshold_microinteger or nullno

Budget

Budget fields
FieldTypeRequiredDescription
agent_idstring or nullyes
created_atstringyes
environmentstring (live, test)yes
idstringyes
limit_microintegeryes
periodstring (daily, monthly)yes
project_idstring or nullyes
remaining_microintegeryes
resets_atstringyes
scopestring (organization, project, agent)yes
spent_microintegeryes
statusstring (active, disabled)yes
updated_atstringyes

BudgetCreate

BudgetCreate fields
FieldTypeRequiredDescription
agent_idstring or nullno
limit_microintegeryes
periodstring (daily, monthly)yes
project_idstring or nullno
scopestring (organization, project, agent)no

BudgetList

BudgetList fields
FieldTypeRequiredDescription
itemsarray of object Budgetyes

BudgetPatch

BudgetPatch fields
FieldTypeRequiredDescription
limit_microinteger or nullno
statusstring (active, disabled) or nullno

Capabilities

Capabilities fields
FieldTypeRequiredDescription
approvalsbooleanyes
environmentstring (live, test)yes
extractionbooleanyes
extraction_pricingobjectnoWhat POST /v1/extractions charges, in micro-units. page_micro is for every page read. escalated_page_micro is added for a page the stronger model reads again. max_pages is the most pages one extraction reads. Sandbox extractions are free.
formatsarray of stringyes
limitsobjectyes
max_pagesintegeryes
max_upload_bytesintegeryes
numbersbooleanyes
one_timeobjectyes
price_versionstringyes
providerstringyes
ratesobjectyes
receivebooleanyes
routesarray of stringyes
scopesarray of stringyes
sendbooleanyes

ClassificationCreate

ClassificationCreate fields
FieldTypeRequiredDescription
abstain_belownumberno
document_idstring or nullno
document_typesarray of stringyes
inbox_item_idstring or nullno
max_pagesinteger or nullno
strictbooleannoRefuse with page_limit_exceeded when the document has more pages than would be read, instead of reading the first ones and warning.
strong_model_if_belownumberno

Correction

Correction fields
FieldTypeRequiredDescription
created_atstringyes
created_bystringyes
extraction_idstringyes
fieldstringyes
idstringyes
notestring or nullyes
valueanyyes

CorrectionCreate

CorrectionCreate fields
FieldTypeRequiredDescription
fieldstring or nullno
notestring or nullno
valueanyno

Coverage

Coverage fields
FieldTypeRequiredDescription
coverage_versionstring or nullyes
excludedobjectyes
generated_atstring or nullyes
inboundobjectyes
notestring or nullyes
orderable_nowarray of stringyes
outboundobjectyes

Deleted

Deleted fields
FieldTypeRequiredDescription
deletedbooleanno
idstringyes

Delivery

Delivery fields
FieldTypeRequiredDescription
attemptintegeryes
created_atstringyes
delivered_atstring or nullyes
duration_msinteger or nullyes
errorstring or nullyes
event_idstringyes
event_typestringyes
idstringyes
next_attempt_atstring or nullyes
replay_ofstring or nullyes
response_statusinteger or nullyes
schedule_sarray of integeryes
statusstringyes
webhook_idstringyes

DeliveryPage

DeliveryPage fields
FieldTypeRequiredDescription
itemsarray of object Deliveryyes
next_cursorstring or nullno

Document

Document fields
FieldTypeRequiredDescription
content_typestringyes
created_atstringyes
deleted_atstring or nullyes
environmentstring (live, test)yes
expires_atstring or nullyes
filenamestringyes
idstringyes
page_countintegeryes
render_reasonstring or nullyes
render_statusstringyes
sha256stringyes
size_bytesintegeryes
sourcestringyes
statusstringyes
upload_idstring or nullyes
validationobjectyes

DocumentCreate

Send exactly one of text, markdown, html or upload_id.

DocumentCreate fields
FieldTypeRequiredDescription
filenamestring or nullno
htmlstring or nullnoHTML rendered to PDF by a headless browser with scripts off and no network: inline CSS and data: images print, external resources are counted as blocked. US letter unless @page says otherwise. At most 2 MiB.
markdownstring or nullnoMarkdown (headings, lists, emphasis, code) rendered to PDF.
textstring or nullnoPlain text rendered to a letter PDF.
upload_idstring or nullno

DocumentPage

DocumentPage fields
FieldTypeRequiredDescription
itemsarray of object Documentyes
next_cursorstring or nullno

DocumentPages

DocumentPages fields
FieldTypeRequiredDescription
document_idstringyes
itemsarray of object PagePreviewyes
page_countintegeryes
render_reasonstring or nullyes
render_statusstringyes

DocumentValidation

DocumentValidation fields
FieldTypeRequiredDescription
idstringyes
page_countintegeryes
render_reasonstring or nullyes
render_statusstringyes
statusstringyes
warningsarray of objectyes

EffectivePolicies

EffectivePolicies fields
FieldTypeRequiredDescription
actorstringyes
approval_required_without_policybooleanyes
environmentstring (live, test)yes
policiesarray of object Policyyes
requires_human_approvalbooleannoServer-set for hosted integration clients and their keys: every send needs a person's approval, whatever the policies say.
rules_orderarray of stringyes
under_policybooleanyes

ErrorBody

ErrorBody fields
FieldTypeRequiredDescription
codestringyes
correlation_idstring or nullno
detailsanyno
messagestringyes
retryablebooleanyes

ErrorEnvelope

ErrorEnvelope fields
FieldTypeRequiredDescription
errorobject ErrorBodyyes

Event

Event fields
FieldTypeRequiredDescription
correlation_idstring or nullyes
created_atstringyes
dataobjectyes
environmentstring (live, test)yes
fax_job_idstring or nullyes
idstringyes
org_idstringyes
project_idstring or nullyes
resource_idstringyes
resource_typestringyes
schema_versionintegeryes
typestringyes

EventPage

EventPage fields
FieldTypeRequiredDescription
itemsarray of object Eventyes
next_cursorstring or nullno

Extraction

Extraction fields
FieldTypeRequiredDescription
completed_atstring or nullyes
confidencenumber or nullyes
correctionsarray of object or nullno
created_atstringyes
created_bystringyes
currencystringyes
document_idstringyes
document_pagesintegeryesThe document's page count. Above pages_processed on a completed row means the cap left pages unread; output.truncated and a warning say so.
environmentstring (live, test)yes
error_codestring or nullyes
idstringyes
inbox_item_idstring or nullyes
kindstring (extract, classify, summarize)yes
modelsobjectyes
optionsobjectyes
outputobject or nullyes
pagesarray of object ExtractionPageyes
pages_escalatedintegeryes
pages_processedintegeryes
pages_requestedintegeryes
price_microintegeryes
schemaobject or nullno
schema_idstring or nullyes
started_atstring or nullyes
statusstring (pending, queued, running, completed, failed)yes

ExtractionCreate

ExtractionCreate fields
FieldTypeRequiredDescription
document_idstring or nullno
inbox_item_idstring or nullno
max_pagesinteger or nullno
schemaobject or nullnoA JSON Schema object of string, number, boolean or date fields with descriptions.
schema_idstring or nullno
strictbooleannoRefuse with page_limit_exceeded when the document has more pages than would be read, instead of reading the first ones and warning.
strong_model_if_belownumberno

ExtractionPage

ExtractionPage fields
FieldTypeRequiredDescription
confidencenumberyes
escalatedbooleanno
languagestring or nullno
modelstringyes
pageintegeryes
statusstringyes
textstringyes
warningsarray of stringno

ExtractionPageList

ExtractionPageList fields
FieldTypeRequiredDescription
itemsarray of object Extractionyes
next_cursorstring or nullno

ExtractionSchema

ExtractionSchema fields
FieldTypeRequiredDescription
created_atstringyes
created_bystringyes
descriptionstring or nullyes
idstringyes
namestringyes
schemaobjectyes
statusstringyes
versionintegeryes

ExtractionSchemaList

ExtractionSchemaList fields
FieldTypeRequiredDescription
itemsarray of object ExtractionSchemayes