API → MLList all ML promptshidden
hidden
Parameters
Name
Type
Req.
Possible values
created_at_ascending
: Sort in increasing order of "created_at".created_at_descending
: Sort in decreasing order of "created_at".
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
items
arrayoptionalArray of
Possible values
thumbs_up
: Thumbs up.thumbs_down
: Thumbs down.accepted
: Accepted.rejected
: Rejected.
metadata
objectoptionalObject Properties
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.
Possible values
text_to_cad
: Text to CAD.text_to_kcl
: Text to KCL.text_to_kcl_iteration
: Text to KCL iteration.text_to_kcl_multi_file_iteration
: Text to KCL iteration with multiple files.
get
/ml-prompts$ curl "https://api.zoo.dev/ml-prompts" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"items": [
{
"completed_at": "2025-07-10T11:05:57.486Z",
"created_at": "2025-07-10T11:05:57.486Z",
"error": "pZ0v53oqGjq7H",
"feedback": "thumbs_up",
"id": "bf5c60ec-1b49-410e-bdcb-137b7da6b3f3",
"kcl_version": "2rYQZ62KJRZGZc4dYGbVZYml9xJGm",
"metadata": {
"code": "hTomcVmmmSR1V2HQ5U1fP",
"original_source_code": "FRXMGF80ZycxxLDkOkwXhRB",
"source_ranges": [
{
"file": "oO47clxEx",
"prompt": "CRIQohQe6R7hnG3FcDWZGl8",
"range": {
"end": {
"column": 30,
"line": 31
},
"start": {
"column": 7,
"line": 20
}
}
}
]
},
"model_version": "erbQFz",
"output_file": "8cnY",
"project_name": "GYYihqq",
"prompt": "8pldF3BqH21QBrzCVdKA8u0BFmjPx",
"started_at": "2025-07-10T11:05:57.487Z",
"status": "queued",
"type": "text_to_cad",
"updated_at": "2025-07-10T11:05:57.487Z",
"user_id": "e125ac5a-78ba-4b62-a84e-180a4d2c9e58"
}
],
"next_page": "jmnZ4DKfvTcr38xA8zCH2MMxIinw"
}