Assets

Asset List with views, and filters.

POST https://{tenant}.atomicwork.com/api/v1/assets/list

Filtering

The request body is an array of filter objects. Send an empty array ([]) to retrieve all records.

Each filter object has the following fields:

FieldTypeDescription
attributestringThe field to filter on (see Supported attributes below)
operatorstringComparison operator (see Available operators below)
valuesarrayOne or more \{ "value": \<scalar> \} objects

Supported attributes

AttributeTypical operatorDescription
statusIS_ANY_OFAsset status (e.g. IN_USE, AVAILABLE, RETIRED).
type_idIS_ANY_OFAsset type ID.
assigned_to_idIS_ANY_OFUser ID the asset is assigned to.

Available operators

OperatorMeaning
EQUALSExact match
NOT_EQUALSExclude exact match
IN / IS_ANY_OFMatch any value in the list
IS_NOT_ANY_OFExclude all listed values
IS_BETWEENInclusive range — pass exactly two values: [start, end]
IS_ON_OR_BEFORE / IS_ON_OR_AFTERDate/time boundary comparisons
CONTAINS / TEXT_CONTAINSSubstring or set membership
IS_NULL / IS_NOT_NULLNull checks — values array can be empty
STARTS_WITH / ENDS_WITHString prefix/suffix match

Example

[
  {
    "attribute": "status",
    "operator": "IS_ANY_OF",
    "values": [
      {
        "value": "IN_USE"
      },
      {
        "value": "AVAILABLE"
      }
    ]
  }
]

Authorization

X-Api-Keyheaderstringrequired

API key authentication.

Headers

X-Workspace-Idheaderstring

Query Parameters

sort_orderqueryenum (string)
Allowed valuesCREATED_AT_DESCCREATED_AT_ASCUPDATED_AT_DESCNAME_ASCNAME_DESC
sortquerystring

Generic multi-column sort, comma-separated field:DIRECTION (e.g. display_name:ASC,created_at:DESC). Sortable fields are those advertised with sortable: true by the asset fields endpoint. Takes precedence over sort_order. Invalid/unknown fields -> 400.

pagequeryintegerrequired
per_pagequeryinteger

Response

200

Successful response