API → AI → Get an AI 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.
metadata
optionalPossible 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.
get
/ai-prompts/{id}$ curl "https://api.zoo.dev/ai-prompts/{id}" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"completed_at": "2024-05-20T06:18:39.082Z",
"created_at": "2024-05-20T06:18:39.082Z",
"error": "HS5PdRNB2Nh92n7fyYFElAX",
"feedback": "thumbs_down",
"id": "9baaefde-0e38-4c4d-8b09-1473000c3e9c",
"metadata": "{}",
"model_version": "RnNgCtl8d8y",
"output_file": "HC4xLUmR0",
"prompt": "m5uVhQfwNtFY2",
"started_at": "2024-05-20T06:18:39.083Z",
"status": "queued",
"type": "text_to_cad",
"updated_at": "2024-05-20T06:18:39.083Z",
"user_id": "12109ca5-34ce-4698-8919-176aa0bdfe63"
}