API → API CallsList async operations
hidden

Parameters

Name

Type

Req.

  • limit

    integer
    optional
  • page_token

    string
    optional
  • sort_by

    string
    required
    Possible values
    • created_at_ascending:  Sort in increasing order of "created_at".
    • created_at_descending:  Sort in decreasing order of "created_at".
  • status

    string
    required
    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.

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
    • items

      array
      optional
      Array of
      • completed_at

        string / ISO-8601
        optional
      • created_at

        string / ISO-8601
        optional
      • error

        string
        optional
      • id

        string / UUID
        optional
      • input

        optional
      • output

        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
        • file_conversion:  File conversion.
        • file_volume:  File volume.
        • file_center_of_mass:  File center of mass.
        • file_mass:  File mass.
        • file_density:  File density.
        • file_surface_area:  File surface area.
        • text_to_cad:  Text to CAD.
        • text_to_cad_iteration:  Text to CAD iteration.
      • updated_at

        string / ISO-8601
        optional
      • user_id

        string / UUID
        optional
      • worker

        string
        optional
    • next_page

      string
      optional
get
/async/operations
$ curl "https://api.zoo.dev/async/operations" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "items": [
    {
      "completed_at": "2024-12-19T17:49:00.912Z",
      "created_at": "2024-12-19T17:49:00.912Z",
      "error": "3j",
      "id": "3ba73a3f-6255-4592-aa43-c93f93b63afd",
      "input": "{}",
      "output": "{}",
      "started_at": "2024-12-19T17:49:00.912Z",
      "status": "in_progress",
      "type": "file_center_of_mass",
      "updated_at": "2024-12-19T17:49:00.912Z",
      "user_id": "60bcedeb-c354-4495-a8aa-9e10ba73806e",
      "worker": "ruZ"
    }
  ],
  "next_page": "ApikDBOzykQZ8dvSOyk"
}