API → MLGet a ML prompthidden
hidden
Parameters
Name
Type
Req.
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
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/{id}$ curl "https://api.zoo.dev/ml-prompts/{id}" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"completed_at": "2025-08-07T23:55:25.869Z",
"conversation_id": "c38bca71-c162-4758-8694-b572175b0334",
"created_at": "2025-08-07T23:55:25.869Z",
"error": "is",
"feedback": "thumbs_down",
"id": "7fbb67fb-ad20-4c17-b1b9-105a037b7150",
"kcl_version": "6eN08n",
"metadata": {
"code": "nrpVoSSgfP6G9cMjT1IAKiSx21",
"original_source_code": "K0uV4OuDw",
"source_ranges": [
{
"file": "4ig7i2VwxcVzM6JWU0zxTZvB",
"prompt": "jVocozXfTbuZxhiv",
"range": {
"end": {
"column": 22,
"line": 25
},
"start": {
"column": 27,
"line": 30
}
}
}
]
},
"model_version": "HR8lOurXZAs",
"output_file": "x7",
"project_name": "lesxyILbsLI",
"prompt": "RaD1CloEERtsAcBToryzJMtY",
"started_at": "2025-08-07T23:55:25.869Z",
"status": "uploaded",
"type": "text_to_cad",
"updated_at": "2025-08-07T23:55:25.869Z",
"user_id": "9ba8feb5-5522-413a-803c-210423928895"
}