API → API Calls → List async operationshidden
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".
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
objectoptionalObject Properties
items
arrayoptionalArray of
input
optionaloutput
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
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.
get
/async/operations$ curl "https://api.zoo.dev/async/operations" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"items": [
{
"completed_at": "2024-04-29T19:58:23.472Z",
"created_at": "2024-04-29T19:58:23.472Z",
"error": "hgSg2J3xPWMTAvWTSpmcxyiSdKiZ",
"id": "0ca1531a-ac9b-4e55-bff6-2ec246d5cc1d",
"input": "{}",
"output": "{}",
"started_at": "2024-04-29T19:58:23.473Z",
"status": "failed",
"type": "file_center_of_mass",
"updated_at": "2024-04-29T19:58:23.473Z",
"user_id": "550908b9-1249-4b96-a0ad-5bbe9dde4395",
"worker": "WPVfuf6GvdhG6a7oMb"
}
],
"next_page": "wWmdK"
}