Automation
Open API documentation
Use an API key to submit CAD drawings, inspect quota, and track tasks or batches.
Manage API keysAuthentication and security
Every open endpoint uses an Authorization: Bearer header. Keys appear only when created or rotated. Use least privilege, CIDR allowlists, separate keys, and webhook signature verification.
Rate and concurrency headers are returned. Honor Retry-After after a 429 response.
Upload policy
JPEG, PNG, WebP, GIF, BMP, and PDF are accepted up to 20MB per file; PDFs may contain up to 10 pages. Successful tasks publish sanitized previews and summaries by default, never source files.
Submission example
curl -X POST "https://YOUR-CAD-DOMAIN/api/open/tasks" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "[email protected]" \
-F "profile=standard" \
-F "options_json={}"profile may be standard, full, bom, dimension_tolerance, or advanced. Advanced mode selects modules through options_json.task_list.
Enterprise system integration
When enterprise and workspace review are enabled, owners or workspace administrators may issue a key bound to that workspace. Personal keys have no enterprise scopes by default. Read, write, review and export scopes are separate; membership, key validity and feature availability are checked on every call.
Private version uploads use multipart file, required version_label, profile and options_json. Supply an Idempotency-Key of 1–128 letters, digits, dots, underscores or hyphens. Same-key replays return the original task without creating or charging another version; changed content returns 409. Pending or unknown outcomes must be checked before submitting again. Submission status uses the same Idempotency-Key header.
Review edits and decisions require expected_revision; conflicts return 409. JSON/XLSX exports require an approved review and preserve the original recognition result.
PDF page associations return cad.page-links.v1 with source page counts, explicit drawing/BOM fields and original field references. Missing page or drawing relationships remain unknown. Candidates require verification; automatic_merge=false and original recognition, review and delivery are retained.
Enterprise API endpoints and scopes| Method | Path | Scope |
|---|
| GET | /api/open/enterprise/workspace | enterprise:read |
| POST | /api/open/enterprise/projects | enterprise:write |
| POST | /api/open/enterprise/projects/{id}/drawings | enterprise:write |
| POST | /api/open/enterprise/drawings/{id}/versions | enterprise:write |
| GET | /api/open/enterprise/submissions/status | enterprise:read |
| GET | /api/open/enterprise/versions/{id} | enterprise:read |
| GET | /api/open/enterprise/tasks/{id} | enterprise:read |
| GET | /api/open/enterprise/tasks/{id}/page-links | enterprise:read |
| POST | /api/open/enterprise/versions/{id}/reviews | enterprise:review |
| GET | /api/open/enterprise/versions/{id}/reviews/current | enterprise:read |
| PATCH | /api/open/enterprise/reviews/{id}/items/{item_id} | enterprise:review |
| POST | /api/open/enterprise/reviews/{id}/decision | enterprise:review |
| POST / GET | /api/open/enterprise/reviews/{id}/exports/{json|xlsx} | enterprise:export |