GET
/
connections
Header
Query
curl --request GET \
  --url https://production.trackstarhq.com/connections \
  --header 'x-trackstar-api-key: <x-trackstar-api-key>'
{
  "data": [
    {
      "connection_id": "07b344db-0304-4866-9ae1-ac8af5292a28",
      "integration_name": "integration_name",
      "created_at": "2023-01-01T00:00:00Z",
      "last_used": "2023-01-01T00:00:00Z",
      "times_used": 1,
      "errors": [
        {
          "error_message": "error_message",
          "affected_endpoints": [
            "GET /connection"
          ],
          "first_seen": "2023-01-01T00:00:00Z",
          "last_seen": "2023-01-01T00:00:00Z"
        }
      ]
    }
  ],
  "next_token": "next_token",
  "total_count": 1
}

Headers

x-trackstar-api-key
string
required

Your organization-level Trackstar API key.

Query Parameters

access_token
string

An optional access token to filter connections by. If included, a single connection associated with the access token will be returned.

Response

200 - application/json
data
object[]

A list of connections for your organization.

next_token
string | null

See pagination for more details.

total_count
integer

The number of items returned.