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-06-13T06:23:48.126Z",
"created_at": "2025-06-13T06:23:48.126Z",
"error": "UIJTbpnEYr8HhA8p",
"feedback": "thumbs_up",
"id": "1a63251a-e535-4d29-ac3b-29d2c40b830e",
"kcl_version": "LXJ1OOW8KXGVNiN",
"metadata": {
"code": "",
"original_source_code": "vrZ3Q40cTHz",
"source_ranges": [
{
"file": "4o",
"prompt": "zqMB05VhpxJcYFhl",
"range": {
"end": {
"column": 12,
"line": 17
},
"start": {
"column": 6,
"line": 3
}
}
}
]
},
"model_version": "bS5RaAznu0E67053LBQYU",
"output_file": "tVhh2sFz82hA4kMOIG54rg6LfP0dZO",
"project_name": "UJDqimRA39rZo7bWW6P6pSPRq",
"prompt": "zih3MQAX5vsNymQt9wvlgSle2IGf",
"started_at": "2025-06-13T06:23:48.126Z",
"status": "uploaded",
"type": "text_to_kcl_iteration",
"updated_at": "2025-06-13T06:23:48.126Z",
"user_id": "fbd13948-d95d-4d00-b5e3-3ee73f273231"
}
],
"next_page": "4t"
}