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
header
required

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

Example:

"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"

lastReportedAfter
string

Timestamp to start when the issue was last observed

Example:

"2021-01-06T03:24:53.000Z"

lastReportedBefore
string

Timestamp to end when the issue was last observed

Example:

"2021-01-06T03:24:53.000Z"

expand
enum<string>

Expand related resources to see all details

Available options:
connection
connectionId
string

Filter issues to a specific connection

Example:

"conn_01GV12VR4DJP70GD1ZBK0SDWFH"

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
OK
results
object[]
required
next
string

Cursor used for pagination.

Example:

"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"