API → MLIterate on a multi-file CAD model with a prompt
Parameters
Name
Type
Req.
bodymultipart/form-data
objectoptionalObject Properties
Returns
- 201 Created
successful creation
Name
Type
Req.
body
objectoptionalObject Properties
Possible values
thumbs_up: Thumbs up.thumbs_down: Thumbs down.accepted: Accepted.rejected: Rejected.
Possible values
cad: CAD.kcl: KCL.kcl_iteration: KCL iteration.
Possible values
queued: The async API call is queued.uploaded: The async API call was uploaded to be converted.in_progress: The async API call is in progress.completed: The async API call has completed.failed: The async API call has failed.
post
/ml/text-to-cad/multi-file/iteration$ curl -X POST "https://api.zoo.dev/ml/text-to-cad/multi-file/iteration" \
--header "Authorization: Bearer $TOKEN" \
--form 'body={};type=application/json' \
--form "main.kcl=@path/to/main.kcl" \
--form "helper.kcl=@path/to/helper.kcl"201 Created
Response{}