GET
/
issues
curl --request GET \
  --url https://api.withterminal.com/tsp/v1/issues \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "id": "isu_01D8ZQFGHVJ858NBF2Q7DV9MNC",
      "connection": "conn_01GV12VR4DJP70GD1ZBK0SDWFH",
      "status": "ongoing",
      "error": {
        "code": "missing_permissions",
        "message": "Failed to ingest HOS Logs, missing permissions to access Duty Status Logs"
      },
      "firstReportedAt": "2021-01-06T03:24:53.000Z",
      "lastReportedAt": "2021-01-06T03:24:53.000Z"
    }
  ],
  "next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
}

Issues are generated when we observe something that may impact the completeness or accuracy of the data we provide but do not justify a full error. For example, if we lack permissions for a specific resource or need to skip an item due to invalid data.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer

The maximum number of results to return in a page.

cursor
string

Pagination cursor to start requests from

lastReportedAfter
string

Timestamp to start when the issue was last observed

lastReportedBefore
string

Timestamp to end when the issue was last observed

expand
enum<string>

Expand related resources to see all details

Available options:
connection
connectionId
string

Filter issues to a specific connection

errorCode
enum<string>

Filter issues to a specific error code

Available options:
missing_permissions,
exceeded_retention_window,
invalid_source_id,
unknown_device_type,
missing_safety_configuration,
inaccessible_data
status
enum<string>

Filter issues to a specific status

Available options:
ongoing,
resolved

Response

200 - application/json
results
object[]
required
next
string

Cursor used for pagination.