Skip to main content
POST
Draft Response Document
Submits an asynchronous job to generate a Response to Office Action (ROA) document in DOCX format. The job runs in the background via Celery workers.

Async workflow

  1. Submit this endpoint — returns a job_id immediately
  2. Poll /draft-roa/status/{job_id} until status is complete
  3. Download the DOCX via the signed URL in the status response

Strategy selections

Override the AI-recommended strategy for specific claims:
If strategy_selections is empty or omitted, the AI recommendations from the analysis are used.

Authorizations

X-API-Key
string
header
required

API key for paid endpoints. Create in your account Settings at https://abigail.app

Headers

X-API-Key
string
required

Body

application/json
application_number
string
required
analysis_id
string
required

Analysis ID from a prior /analyze call.

strategy_selections
object

Per-claim strategy overrides. Keys: claim numbers, values: strategy codes (amend_narrow, argue_distinction, cancel).

Response

Job submitted

job_id
string
status
enum<string>
Available options:
queued
poll_url
string

URL to poll for job status.