Submit a P&ID drawing for extraction. Accepts multipart form data with a file field (PDF) and an optional facility_id to scope the job to a workspace. One credit is charged per page.
curl -X POST https://api.tagsight.io/api/v1/extract \
-H "Authorization: Bearer $TS_KEY" \
-F "file=@drawing.pdf"Response{
"job": {
"id": "4f8e2a1c9d3b",
"status": "queued",
"filename": "drawing.pdf",
"page_count": 3,
"processed_pages": 0,
"instrument_count": 0,
"credits_charged": 3,
"created_at": "2026-07-19T14:02:11Z",
"error": null
}
}