> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myego.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# List integrations

> Return the integrations the authenticated token can see. An integration is an account you have linked to ego (for example a Google account) together with the scopes you granted. Token material never appears in the response.



## OpenAPI

````yaml /api-reference/openapi.json get /api/integrations
openapi: 3.1.0
info:
  title: ego API
  version: 0.0.0
  description: >-
    Preview specification for the ego API. ego sits between your data and the
    agents that read it, granting access one scope at a time. Each endpoint
    requires the native scope named in its description, granted on the consent
    screen and carried on the bearer token.
servers:
  - url: https://api.myego.dev
    description: Preview — not yet live
security:
  - bearerAuth: []
paths:
  /api/integrations:
    get:
      tags:
        - Integrations
      summary: List integrations
      description: >-
        Return the integrations the authenticated token can see. An integration
        is an account you have linked to ego (for example a Google account)
        together with the scopes you granted. Token material never appears in
        the response.
      operationId: listIntegrations
      responses:
        '200':
          description: The caller's integrations.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationList'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    IntegrationList:
      type: object
      required:
        - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Integration'
    Integration:
      type: object
      required:
        - id
        - provider
        - status
      properties:
        id:
          type: string
          description: Stable identifier for the integration.
          examples:
            - conn_4f2a9c
        provider:
          type: string
          description: The source the integration grants access to.
          examples:
            - google
        email:
          type: string
          format: email
          description: The connected account, when the provider exposes one.
          examples:
            - ada@example.com
        buckets:
          type: array
          description: The scope buckets the integration's live scopes support.
          items:
            type: string
        status:
          type: string
          description: Whether ego can currently read through the integration.
          enum:
            - active
            - error
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: A human-readable error message.
          examples:
            - Unauthorized
  responses:
    Unauthorized:
      description: The token is missing or invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Unauthorized
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Pass your ego access token as a bearer token: `Authorization: Bearer
        <token>`. The token carries the scopes granted on the consent screen.

````