then run the door detection for the pdf:
curl -X POST https://api.anchorgrid.ai/v1/drawings/detection/doors \
-H "X-API-Key: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"document_id": "550e8400-e29b-41d4-a716-446655440000",
"page_numbers": [1, 2, 3]
}
You can use it like this --
Upload a pdf first: curl -X POST https://api.anchorgrid.ai/v1/documents \\ 90 + -H "X-API-Key: <your-api-key>" \\ 91 + -F "file=@floor-plan.pdf"
then run the door detection for the pdf: curl -X POST https://api.anchorgrid.ai/v1/drawings/detection/doors \ -H "X-API-Key: <your-api-key>" \ -H "Content-Type: application/json" \ -d '{ "document_id": "550e8400-e29b-41d4-a716-446655440000", "page_numbers": [1, 2, 3] }