API → AI → List all AI 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.
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$ curl "https://api.zoo.dev/ai-prompts" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"items": [
{
"completed_at": "2024-05-16T20:27:23.162Z",
"created_at": "2024-05-16T20:27:23.162Z",
"error": "2",
"feedback": "thumbs_down",
"id": "8fdda739-3729-47e1-a458-bd22fd685ac2",
"metadata": "{}",
"model_version": "2",
"output_file": "",
"prompt": "tnLMDUSabGXPkF",
"started_at": "2024-05-16T20:27:23.163Z",
"status": "queued",
"type": "text_to_cad",
"updated_at": "2024-05-16T20:27:23.163Z",
"user_id": "a0669cae-e0d3-4177-9a35-c19b4590e5cb"
}
],
"next_page": "rDTkf418lGQM"
}