## GET /v1/integrations

Read connected integrations and their settings.

Required permissions: read:integrations.
API key: Supported.
CLI user token: Supported.
Session token: Requires the ellipsis:api scope, and the session's permissions.ellipsis rules must allow the operation.
Higher permission levels include lower levels: read < write < delete.

### Response

```text
{
  "github": {
    "account_login": str,
    "account_type": str,
    "created_at": str,
    "id": int,
    "needs_permissions_update": bool,
    "repository_count": int,
    "repository_selection": str,
    "suspended": bool,
    "suspended_at": str,
    "updated_at": str
  },
  "jira": {
    "cloud_id": str,
    "created_at": str,
    "scope": [
      str
    ],
    "updated_at": str
  },
  "linear": {
    "created_at": str,
    "organization_id": str,
    "teams": [
      {
        "id": str,
        "is_enabled": bool,
        "key": str,
        "name": str
      }
    ],
    "updated_at": str
  },
  "sentry": [
    {
      "integration_id": str,
      "organization_slug": str
    }
  ],
  "slack": {
    "created_at": str,
    "operations_channel_id": str,
    "team_id": str,
    "team_name": str,
    "updated_at": str
  }
}
```

### Python

```python
import os

from ellipsis import Ellipsis

client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])

result = client.integrations.list()
print(result)
```

### TypeScript

```typescript
import { Ellipsis } from '@ellipsis-dev/sdk';

const client = new Ellipsis({
  apiKey: process.env.ELLIPSIS_API_TOKEN!,
});

const result = await client.integrations.list();
console.log(result);
```

### cURL

```bash
curl "https://api.ellipsis.dev/v1/integrations" \
  -H "Authorization: Bearer $ELLIPSIS_API_TOKEN"
```

### Response schema

```json
{
  "properties": {
    "github": {
      "anyOf": [
        {
          "properties": {
            "account_login": {
              "type": "string"
            },
            "account_type": {
              "enum": [
                "User",
                "Organization",
                "Bot",
                "Mannequin"
              ],
              "type": "string"
            },
            "created_at": {
              "format": "date-time",
              "type": "string"
            },
            "id": {
              "type": "integer"
            },
            "needs_permissions_update": {
              "type": "boolean"
            },
            "repository_count": {
              "type": "integer"
            },
            "repository_selection": {
              "enum": [
                "all",
                "selected"
              ],
              "type": "string"
            },
            "suspended": {
              "type": "boolean"
            },
            "suspended_at": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "updated_at": {
              "format": "date-time",
              "type": "string"
            }
          },
          "required": [
            "id",
            "created_at",
            "updated_at",
            "needs_permissions_update",
            "account_login",
            "account_type",
            "repository_selection",
            "suspended",
            "repository_count"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "jira": {
      "anyOf": [
        {
          "properties": {
            "cloud_id": {
              "type": "string"
            },
            "created_at": {
              "format": "date-time",
              "type": "string"
            },
            "scope": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "updated_at": {
              "format": "date-time",
              "type": "string"
            }
          },
          "required": [
            "created_at",
            "updated_at",
            "scope",
            "cloud_id"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "linear": {
      "anyOf": [
        {
          "properties": {
            "created_at": {
              "format": "date-time",
              "type": "string"
            },
            "organization_id": {
              "type": "string"
            },
            "teams": {
              "items": {
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "is_enabled": {
                    "type": "boolean"
                  },
                  "key": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name",
                  "is_enabled"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "updated_at": {
              "format": "date-time",
              "type": "string"
            }
          },
          "required": [
            "created_at",
            "updated_at",
            "organization_id",
            "teams"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "sentry": {
      "default": [],
      "items": {
        "properties": {
          "integration_id": {
            "type": "string"
          },
          "organization_slug": {
            "type": "string"
          }
        },
        "required": [
          "integration_id",
          "organization_slug"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "slack": {
      "anyOf": [
        {
          "properties": {
            "created_at": {
              "format": "date-time",
              "type": "string"
            },
            "operations_channel_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "team_id": {
              "type": "string"
            },
            "team_name": {
              "type": "string"
            },
            "updated_at": {
              "format": "date-time",
              "type": "string"
            }
          },
          "required": [
            "created_at",
            "updated_at",
            "team_id",
            "team_name"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object"
}
```
