Get asset tasks

GET /data/assets/{asset_id}/tasks

Retrieve all tasks related to a specific asset.

Path parameters

  • asset_id Required

    Unique identifier of the asset

Query parameters

  • task_type_id

    Filter tasks by task type

  • task_status_id

    Filter tasks by task status

Responses

  • 200 application/json

    List of asset tasks successfully retrieved

    Hide response attributes Show response attributes object
    • id string(uuid)

      Task unique identifier

    • name string

      Task name

    • task_type_id string(uuid)

      Task type identifier

    • task_status_id string(uuid)

      Task status identifier

    • entity_id string(uuid)

      Asset identifier

    • assigned_to string(uuid)

      Assigned user identifier

    • created_at string(date-time)

      Creation timestamp

    • updated_at string(date-time)

      Last update timestamp

GET /data/assets/{asset_id}/tasks
curl \
 --request GET 'http://api.example.com/data/assets/a24a6ea4-ce75-4665-a070-57453082c25/tasks' \
 --header "Authorization: $API_KEY"
Response examples (200)
[
  {
    "id": "e68e0ie8-gi19-8009-e514-91897426g69",
    "name": "Modeling Task",
    "task_type_id": "f79f1jf9-hj20-9110-f625-02908537h70",
    "task_status_id": "g80g2kg0-ik31-0221-g736-13019648i81",
    "entity_id": "a24a6ea4-ce75-4665-a070-57453082c25",
    "assigned_to": "h91h3lh1-jl42-1332-h847-24120759j92",
    "created_at": "2023-01-01T12:00:00Z",
    "updated_at": "2023-01-01T12:30:00Z"
  }
]