API → AIGet an AI prompt
hidden

Parameters

Name

Type

Req.

  • id

    string / UUID
    required

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
    • completed_at

      string / ISO-8601
      optional
    • created_at

      string / ISO-8601
      optional
    • error

      string
      optional
    • feedback

      string
      optional
      Possible values
      • thumbs_up:  Thumbs up.
      • thumbs_down:  Thumbs down.
    • id

      string / UUID
      optional
    • metadata

      optional
    • model_version

      string
      optional
    • output_file

      string
      optional
    • prompt

      string
      optional
    • started_at

      string / ISO-8601
      optional
    • status

      string
      optional
      Possible 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.
    • type

      string
      optional
      Possible values
      • text_to_cad:  Text to CAD.
    • updated_at

      string / ISO-8601
      optional
    • user_id

      string / UUID
      optional
get
/ai-prompts/{id}
$ curl "https://api.zoo.dev/ai-prompts/{id}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "completed_at": "2024-04-11T21:10:01.212Z",
  "created_at": "2024-04-11T21:10:01.212Z",
  "error": "iABoFPti8oUL40f6ypiajwHw5",
  "feedback": "thumbs_down",
  "id": "7afd387a-18f2-4044-a2d8-f0c1c817dce1",
  "metadata": "{}",
  "model_version": "unwPeOExn8srN9xnb9pkPCPvumRx",
  "output_file": "HBUrQgHLnzdqFKuZ62e",
  "prompt": "E6WQMtZjC5bkE61Mb",
  "started_at": "2024-04-11T21:10:01.212Z",
  "status": "completed",
  "type": "text_to_cad",
  "updated_at": "2024-04-11T21:10:01.212Z",
  "user_id": "831e897b-20f3-4a3b-a009-4fc1b2145927"
}