List all tasks
GET
/tasks
const url = 'https://api.waku-robotics.com/v1/tasks';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.waku-robotics.com/v1/tasks \ --header 'Authorization: <Authorization>'List all tasks
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”created_at__gte
string
Filter by created_at greater or equals
created_at__lte
string
Filter by created_at less or equals
status__in
Array<string>
Filter by task status
deployment__in
Array<string>
Filter by Deployment IDs
work_order__in
Array<string>
Filter by Work Order IDs
Responses
Section titled “Responses”OK
Media typeapplication/json
Array<object>
object
created_at
required
string
description
required
string
device_id
required
string
device_name
required
string
device_reference
required
string
id
required
string
name
required
string
notes
required
string
parts
Array<object>
object
location_id
required
string
note
required
string
part_id
required
string
quantity
required
integer
usage
required
string
resolved_at
string
started_at
string
status
required
string
template
object
id
required
string
title
required
string
updated_at
required
string
work_order_id
required
string
Example generated
[ { "created_at": "example", "description": "example", "device_id": "example", "device_name": "example", "device_reference": "example", "id": "example", "name": "example", "notes": "example", "parts": [ { "location_id": "example", "note": "example", "part_id": "example", "quantity": 1, "usage": "example" } ], "resolved_at": "example", "started_at": "example", "status": "example", "template": { "id": "example", "title": "example" }, "updated_at": "example", "work_order_id": "example" }]default
Section titled “default”Media typeapplication/json
object
code
integer
message
string
Example generated
{ "code": 1, "message": "example"}
