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-07-25T00:19:55.402Z",
"created_at": "2024-07-25T00:19:55.402Z",
"error": "y60tU4CS8",
"feedback": "thumbs_up",
"id": "60bb4353-f88b-472a-b8aa-be729ceea4d4",
"metadata": "{}",
"model_version": "gk5BYXKhhRWA1Tt69F5z8Ij",
"output_file": "FWRFIAcm1yxP",
"prompt": "7FKN0hIAutJs5P",
"started_at": "2024-07-25T00:19:55.403Z",
"status": "completed",
"type": "text_to_cad",
"updated_at": "2024-07-25T00:19:55.403Z",
"user_id": "e6d06543-ce99-4a4e-8162-7bd448c91a60"
}
],
"next_page": "BkeXJdafRi1k"
}