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-04T12:25:21.495Z",
"created_at": "2025-07-04T12:25:21.495Z",
"error": "RHAenJZEhb8e0tR",
"feedback": "accepted",
"id": "bea0814f-6229-4528-b3c6-f7ba6513f46d",
"kcl_version": "aUWkpky36Tl0o0fMgy1Elixm",
"metadata": {
"code": "ZEBGEBxGikG0XGUAh3j6f",
"original_source_code": "vJf3IZo9sS1hr62k7u",
"source_ranges": [
{
"file": "LddMYLPOzI0zfjqK0GIO8I48Yl",
"prompt": "W5WjWqDXvTN6yrHN8clGlh",
"range": {
"end": {
"column": 25,
"line": 25
},
"start": {
"column": 28,
"line": 11
}
}
}
]
},
"model_version": "733o2Vp",
"output_file": "frX44orVRGD",
"project_name": "KeupFxJFDmpsb0",
"prompt": "Vrj8ta2WV74S9lTTE",
"started_at": "2025-07-04T12:25:21.495Z",
"status": "failed",
"type": "text_to_kcl",
"updated_at": "2025-07-04T12:25:21.495Z",
"user_id": "3546f595-7a45-46ea-a252-d18332237d65"
}
],
"next_page": "p1LBGRY8g8IKyBK6L8Fho"
}