Uspto Office Actions

v0.2.1
io.github.pipeworx-io/uspto-office-actions Checked 1 day ago Published 26 days ago

USPTO patent prosecution history: office action full text, examiner citations, claim-level…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_office_actions

Search USPTO office actions (and related prosecution-history documents, e.g. petition decisions filed in the same document stream) for one patent application. Returns action type (non-final rejection, final rejection, notice of allowance, etc.), mail date, examiner employee number, and art unit — newest first. Use get_office_action_text with the returned document_id to fetch one office action's full text. Pass application_number (preferred) or patent_number.

ParameterTypeDescription
_apiKeystringUSPTO ODP API key. Get free at https://data.uspto.gov/myodp. Falls back to platform key if configured.
application_numberstringUS patent application number, digits only or formatted, e.g. "16123456" or "16/123,456".
include_rawbooleanDebug 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).
limitnumberMax rows to return (default 10, max 100).
patent_numberstringGranted US patent number, as an alternative to application_number.

get_office_action_text

Fetch 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.

ParameterTypeDescription
_apiKeystringUSPTO ODP API key. Get free at https://data.uspto.gov/myodp.
application_numberstringUS patent application number — use with mail_date when you do not have a document_id.
document_idstringThe office action's document id, as returned by search_office_actions (field document_id).
include_rawbooleanDebug 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).
mail_datestringThe office action mail date (ISO YYYY-MM-DD), from search_office_actions' mail_date field. Required when document_id is not given.

get_office_action_rejections

Claim-level rejection data for every office action on one application. Returns AGGREGATE counts first (how many rejection records cite 35 U.S.C. 101/102/103/112, and double-patenting) and per-claim/per-record detail last. Use this before get_office_action_citations when the question is "what did the examiner reject this on", not "what references were cited".

ParameterTypeDescription
application_number *stringUS patent application number, digits only or formatted.
_apiKeystringUSPTO ODP API key. Get free at https://data.uspto.gov/myodp.
include_rawbooleanDebug 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).
limitnumberMax per-record rows to return in `records` (default 25, max 100). The `aggregate` block always covers every record USPTO returned for this application, not just `limit` of them.

get_office_action_citations

References cited in office actions for one application — who cited each one (examiner vs applicant), the legal basis (102/103 etc.) it was cited under, and the AI/ML-extracted "enriched citation" fields (category code, claim/paragraph passage mapping) when USPTO has them for that citation. Returns `citations` (basic citation records) and `enriched_citations` (richer subset) separately rather than force-merged, since the two datasets are not joined by a shared key.

ParameterTypeDescription
application_number *stringUS patent application number, digits only or formatted.
_apiKeystringUSPTO ODP API key. Get free at https://data.uspto.gov/myodp.
include_rawbooleanDebug 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).
limitnumberMax rows per array to return (default 25, max 100).

search_petition_decisions

Search USPTO Commissioner / Office of Petitions final decisions. Pass application_number for one application's petition history, or query for free-text search across decisions (petition issue text, invention title). Optional decided_after/decided_before (ISO YYYY-MM-DD) bound the decision date. Returns decision type, decision date, petition type, and the deciding office.

ParameterTypeDescription
_apiKeystringUSPTO ODP API key. Get free at https://data.uspto.gov/myodp.
application_numberstringFilter to one US patent application number.
decided_afterstringOnly decisions on/after this date (ISO YYYY-MM-DD).
decided_beforestringOnly decisions on/before this date (ISO YYYY-MM-DD).
include_rawbooleanDebug 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).
limitnumberMax rows to return (default 10, max 100).
offsetnumberPagination offset (default 0).
querystringFree-text search, e.g. an invention title fragment or petition issue (e.g. "revival", "extension of time"). Omit to list recent decisions, or combine with application_number.