Get Office Action Text
get_office_action_textFetch one USPTO office action's full text. Pass document_id (from search_office_actions' document_id field) for an exact match, or application_number + mail_date to look it up by application and date. Returns the office action body text, its character length, and a truncation flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _apiKey | No | USPTO ODP API key. Get free at https://data.uspto.gov/myodp. | |
| mail_date | No | The office action mail date (ISO YYYY-MM-DD), from search_office_actions' mail_date field. Required when document_id is not given. | |
| document_id | No | The office action's document id, as returned by search_office_actions (field document_id). | |
| include_raw | No | Debug escape hatch: skip normal parsing and return the bare upstream HTTP status + first 500 chars of body instead (fleet #3305 — diagnosing a request shape live, no redeploy needed). | |
| application_number | No | US patent application number — use with mail_date when you do not have a document_id. |