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-08-07T23:55:25.249Z",
"conversation_id": "d6b73bb7-0d2a-45fc-b84b-a3d6d6138825",
"created_at": "2025-08-07T23:55:25.249Z",
"error": "PGvVRX3lSS9oy38xBslvM7lh7zi",
"feedback": "rejected",
"id": "f70ce7e7-c129-4016-979d-a4106ae09013",
"kcl_version": "b071b35Ste4y8PQjDdqTZymeXuQ2r",
"metadata": {
"code": "vsYq5Tv1AsstEwwY2OQmE3zx",
"original_source_code": "vblaM3xzA9",
"source_ranges": [
{
"file": "I",
"prompt": "Wn92T0AOnIHs6JBrvyZSczxoo",
"range": {
"end": {
"column": 22,
"line": 15
},
"start": {
"column": 17,
"line": 18
}
}
}
]
},
"model_version": "uJbFcr4LKy2OtH",
"output_file": "RphUhB5eQ9QWTRUh6",
"project_name": "DhTiGwzyFcerpYCo2dpdl6nR",
"prompt": "kOoDNiH6Tpx",
"started_at": "2025-08-07T23:55:25.249Z",
"status": "completed",
"type": "text_to_cad",
"updated_at": "2025-08-07T23:55:25.249Z",
"user_id": "9f473041-5aad-4211-8a8a-0e0ecb6eceab"
}
],
"next_page": "ov69trFvAAmf"
}