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-04T14:09:20.237Z",
"created_at": "2025-07-04T14:09:20.237Z",
"error": "eoooN7YsRXCf",
"feedback": "accepted",
"id": "663c1351-0efa-42b4-a93a-b927ba29d6bc",
"kcl_version": "rRIsyJ",
"metadata": {
"code": "Vo6BYn7iVRf2h6GuyzMt47U",
"original_source_code": "VCc27JTTesIcEfvhwPqhEUNrsML",
"source_ranges": [
{
"file": "suWoqaq6zg",
"prompt": "lKve1Y3",
"range": {
"end": {
"column": 8,
"line": 28
},
"start": {
"column": 6,
"line": 19
}
}
}
]
},
"model_version": "Hr7aqFbepOXYw",
"output_file": "y56XaTGJzOAUPd71dgu4L2",
"project_name": "MeJ56",
"prompt": "ZK4xsw4a8Wz3pR",
"started_at": "2025-07-04T14:09:20.238Z",
"status": "queued",
"type": "text_to_kcl_multi_file_iteration",
"updated_at": "2025-07-04T14:09:20.238Z",
"user_id": "29b503d9-03ca-4589-8009-53581492254d"
}
],
"next_page": "rBrVPA4Hx8vs0"
}