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.
      • 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-04-18T22:03:37.493Z",
      "created_at": "2024-04-18T22:03:37.493Z",
      "error": "Gpms52Mnr0ZEUF",
      "id": "dbeb1582-2e1d-430c-b773-3dff709e2e0f",
      "input": "{}",
      "output": "{}",
      "started_at": "2024-04-18T22:03:37.494Z",
      "status": "uploaded",
      "type": "file_density",
      "updated_at": "2024-04-18T22:03:37.494Z",
      "user_id": "46278dc6-84ff-4599-a3cc-bea7c3463c13",
      "worker": "rP723v7zRRZpMyYgxcuCyI8m0yBlw"
    }
  ],
  "next_page": ""
}