Contractag exposes two primary endpoints for working with contract fields.
| Endpoint | Method | Description |
|---|
/fields | POST | Upload a PDF and trigger field extraction. Returns a documentId, field list, and processing metadata. |
/fields/{document_id} | GET | Retrieve the complete extraction result for a processed document, optionally filtered by page. |
All endpoints are namespaced under the base URL https://api.contractag.dev. Requests must include an API key obtained via email onboarding.
Use the sidebar to dive into request/response details for each route.
Every endpoint page now ships with an interactive API Playground. Authorize
once, send live requests, and grab example snippets right inside the docs. See
api/playground under Get Started for a quick tour.