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-09-19T16:11:34.045Z",
      "created_at": "2024-09-19T16:11:34.045Z",
      "error": "nd692GK9mbAtBXVoDggJoBU6",
      "id": "f135d675-c44a-4e2e-9638-87d941fa1872",
      "input": "{}",
      "output": "{}",
      "started_at": "2024-09-19T16:11:34.045Z",
      "status": "failed",
      "type": "file_surface_area",
      "updated_at": "2024-09-19T16:11:34.045Z",
      "user_id": "9626601f-9396-45c7-855c-ca66c11d7af9",
      "worker": "7"
    }
  ],
  "next_page": "nwvDxMXBqysYSeqlrgB8y"
}