Skip to main content

Automation

Open API documentation

Use an API key to submit CAD drawings, inspect quota, and track tasks or batches.

Manage API keys

Authentication 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.

Endpoints and scopes

Open API endpoints and required scopes
MethodPathScope
GET/api/open/statusstatus:read
GET/api/open/quotaquota:read
GET/api/open/taskstasks:read
POST/api/open/taskstasks:create
GET/api/open/tasks/{task_id}tasks:read
POST/api/open/tasks/{task_id}/canceltasks:create
POST/api/open/batchesbatches:create
GET/api/open/batches/{batch_id}batches:read

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.

Webhook

Subscribe to task.completed, task.failed, and task.cancelled. Verify signatures with the secret shown on creation or rotation, and deduplicate by event ID.

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
MethodPathScope
GET/api/open/enterprise/workspaceenterprise:read
POST/api/open/enterprise/projectsenterprise:write
POST/api/open/enterprise/projects/{id}/drawingsenterprise:write
POST/api/open/enterprise/drawings/{id}/versionsenterprise:write
GET/api/open/enterprise/submissions/statusenterprise:read
GET/api/open/enterprise/versions/{id}enterprise:read
GET/api/open/enterprise/tasks/{id}enterprise:read
GET/api/open/enterprise/tasks/{id}/page-linksenterprise:read
POST/api/open/enterprise/versions/{id}/reviewsenterprise:review
GET/api/open/enterprise/versions/{id}/reviews/currententerprise:read
PATCH/api/open/enterprise/reviews/{id}/items/{item_id}enterprise:review
POST/api/open/enterprise/reviews/{id}/decisionenterprise:review
POST / GET/api/open/enterprise/reviews/{id}/exports/{json|xlsx}enterprise:export