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-07T19:29:42.467Z",
"created_at": "2024-05-07T19:29:42.467Z",
"error": "8M7o",
"feedback": "thumbs_up",
"id": "f55475be-bd3b-4fdd-bd7a-624167d6c6af",
"metadata": "{}",
"model_version": "",
"output_file": "qxtPpWqVN20sGxSQ1WoqKgroU",
"prompt": "a8S11ZOneJu",
"started_at": "2024-05-07T19:29:42.467Z",
"status": "completed",
"type": "text_to_cad",
"updated_at": "2024-05-07T19:29:42.467Z",
"user_id": "b27ba7a3-240e-4286-b90a-78bfca95a4b1"
}