Endpoints
cURL and Python examples for every endpoint.
POST
/v1/parseParse
Ingest documents and return structured text, tables, and layout.
curl -X POST https://api.context212.com/v1/parse \
-H "Authorization: Bearer $TOKEN" \
-F "file=@contract.pdf"POST
/v1/extractExtract
Extract entities, summaries, and structured fields with schemas.
curl -X POST https://api.context212.com/v1/extract \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"document_id": "doc_123", "schema": {...}}'POST
/v1/searchRechercher
Semantic and lexical search across knowledge bases with citations.
curl -X POST https://api.context212.com/v1/search \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"query": "What is the notice period?", "kb": "contracts"}'Start building with Context212
Sign up for an API key and deploy document AI in minutes.