forms

Fill a PDF form using facts found in supporting documents.

Fill a PDF form using facts found in supporting documents. Also: fill a PDF form from DOCX, spreadsheets, images, JSON, or other documents; pre-fill a government form from supporting paperwork; complete an application from a resume or company details; extract answers from context documents into a form. Input: a PDF file plus one or more context files and/or context_text/context_urls. Ephemeral processing: source and output documents are deleted 60 to 70 minutes after the last activity on a form.

post/pay/fill-with-context

Request

  • Base URL: https://api.getemboss.ai
  • URL: https://api.getemboss.ai/pay/fill-with-context
  • Auth: none required

Request body

OR

Response

Paid and accepted, within about 10 seconds. status is ready when the job finished in that time, working when it is still running (check status_url every few seconds until status is ready or failed), or failed with the reason in error. The Payment-Receipt header carries the MPP receipt. With mode=two_call, proposal_id, commit_token and proposal_url appear here only when the job finishes within the wait; otherwise they appear in the status check's answer once status is ready.

job_idstring required
status_urlstring uri required
quote_idstring required
status'ready' | 'working' | 'failed' required

The job's status when the paid call answered.

poll_after_secondsinteger

On working: how long to wait before checking status_url.

errorstring

On failed: why, in plain words.

retrystring

On failed, when a free run is available: how to run it again at no charge.

artifact_idstring

The result artifact's id, when the op produced one.

artifact_tokenstring

Bearer token for artifact_id (anonymous callers only).

artifactsobject[]

Every artifact the op produced: [{artifact_id, role, mime_type}].

proposal_idstring

two_call only: the proposal to read and commit.

commit_tokenstring

two_call only: send as X-Proposal-Token on the proposal routes; lives 45 minutes.

proposal_urlstring uri

two_call only: GET the proposal, token included.

Changes

No recorded changes to this operation across all 1 revision of this API.