Detects rooms in an architectural floor plan PDF. This is an async job — it returns immediately with a job ID and you poll for the detections. Returns bounding boxes, polygons, and, when available, the room number and label extracted from nearby plan text. Detections are in PDF coordinate space.
Auth via X-API-Key header (or a bearer token). Body is JSON — this endpoint does not accept file uploads directly.
document_idreq
string (UUID)
UUID of a document uploaded via POST /v1/documents. Must belong to this account and not be expired.
page_numbers
int[]
1-based page numbers to scan. Omit to scan the whole document.
webhook_url
string
URL to notify when the job finishes.
confidence_min
number
Minimum detection confidence. Defaults to 0.5.
use_gpu
boolean
Route the job to the GPU queue.
There are additional optional inference overrides (model_type, model_key, target_longest_edge, etc.) for advanced use; all default to server-side values when omitted.