Create a program
POST/programs
Creates a Program for the given part using the API key creator’s default cut config and its linked tool libraries. Requires the Part’s feature detection to be complete — returns 409 Conflict if GET /parts/{id} has not yet reported status: "ready". Auto-creates a Project named API: <part-name> (<timestamp>) on first call so the Part becomes visible in the Toolpath web UI; subsequent calls for the same Part reuse the existing Project. Engine strategy runs asynchronously; poll GET /programs/{id} until status transitions from processing to ready or failed.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 409
- 429
- 500
- 503
Program accepted for processing. Poll GET /programs/{id} until status is ready.
Response Headers
URL for polling the new program
Invalid request
Missing or invalid bearer token
API key lacks the required scope for this action
Resource not found
Idempotency-Key collision (same key, different body)
Rate limit exceeded
Unexpected server error
Unexpected server error