Skip to main content
POST
/
v1
/
openclaw
/
analyze
Analyze Office Action
curl --request POST \
  --url https://api.abigail.app/v1/openclaw/analyze \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "application_number": "17200011",
  "office_action_text": "Claims 1-5 are rejected under 35 U.S.C. 102(a)(1) as being anticipated by Smith (US 2024/0001234)...",
  "office_action_type": "CTNF",
  "include_examiner_intel": true
}
'
{
  "analysis_id": "ana_a1b2c3d4e5f6",
  "application_number": "17200011",
  "rejection_type": "CTNF",
  "claim_analyses": [
    {
      "claim_number": 1,
      "status": "rejected",
      "basis": "102(a)(1)",
      "prior_art": [
        "US 2024/0001234"
      ],
      "recommendation": "amend_narrow"
    }
  ],
  "glass_box": {
    "experts_invoked": [
      "claim_analyst",
      "prior_art_mapper",
      "examiner_profiler"
    ],
    "citations_verified": true,
    "confidence_scores": {
      "claim_analyst": 0.92
    },
    "model_versions": {
      "claim_analyst": "claude-sonnet-4-20250514"
    },
    "elapsed_seconds": 12.4
  }
}
This is the core endpoint. Submit the full text of a USPTO office action and receive a structured analysis with claim-by-claim breakdown, rejection bases, prior art mapping, and strategic recommendations. Every response includes Glass Box transparency metadata.

Typical workflow

  1. Call /lookup/{app_number} to get the examiner name
  2. Call /analyze with the office action text
  3. Use the returned analysis_id to call /draft-roa

Office action types

CodeMeaning
CTNFNon-final rejection (default)
CTFRFinal rejection
CTEDRestriction requirement
CTRSRequirement for information

Examiner intelligence

When include_examiner_intel is true (default), the analysis includes examiner behavior patterns that inform the strategy recommendations. Set to false to skip this step and reduce processing time.

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

Your Abigail API key (format: abi_sk_...).

Body

application/json
application_number
string
required

USPTO application number.

office_action_text
string
required

Full text of the office action.

office_action_type
string
default:CTNF

Office action type code. Common: CTNF (non-final), CTFR (final), CTED (restriction).

include_examiner_intel
boolean
default:true

Include examiner intelligence in the analysis.

Response

Analysis complete

analysis_id
string

Unique analysis identifier. Use this for follow-up draft-roa calls.

application_number
string
rejection_type
string
claim_analyses
object[]
glass_box
object

Transparency metadata showing AI decision provenance.