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-07-27T01:15:22.684Z",
"created_at": "2024-07-27T01:15:22.684Z",
"error": "La9x5lSfXKulOZyXerwkznn",
"feedback": "thumbs_down",
"id": "8fd88062-ad7c-4939-ae35-17ecc608d3e0",
"metadata": "{}",
"model_version": "YDvG",
"output_file": "HI7r3hxO20u13NF6safomXNL",
"prompt": "tCEC5",
"started_at": "2024-07-27T01:15:22.684Z",
"status": "failed",
"type": "text_to_cad",
"updated_at": "2024-07-27T01:15:22.684Z",
"user_id": "40d87e9c-d0b9-43f4-968f-8953ecf2c43e"
}