---
title: "List integrations"
method: GET
path: "/api/integration"
tags: ["integration"]
---

# List integrations

`GET /api/integration`

## Request

- Base URL: `https://opencode.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://opencode.ai/api/integration`
- Auth: none required

Retrieve available integrations and their authentication methods.

## Query parameters

- `location` object, nullable
  - `directory` string, nullable

## Response `200`

Success

- object
  - `location` LocationPublicRef, required
    - `directory` string, required
  - `data` IntegrationInfo[], required
    - `id` string, required
    - `name` string, required
    - `metadata` object
    - `methods` IntegrationMethod[], required
      - union
        - IntegrationOAuthMethod
          - `id` string, required
          - `type` 'oauth', required
          - `label` string, required
          - `form` FormField[]
            - union
              - …
        - IntegrationCommandMethod
          - `id` string, required
          - `type` 'command', required
          - `label` string, required
          - `command` string[], required
        - IntegrationKeyMethod
          - `type` 'key', required
          - `label` string
          - `form` FormField[]
            - union
              - …
        - IntegrationExternalMethod
          - `id` string, required
          - `type` 'external', required
          - `label` string, required
          - `form` FormField[]
            - union
              - …
        - IntegrationEnvMethod
          - `type` 'env', required
          - `names` string[], required
    - `connections` ConnectionInfo[], required
      - union
        - ConnectionCredentialInfo
          - `type` 'credential', required
          - `id` string, required
          - `label` string, required
          - `method` 'key' | 'oauth' | 'external', required
          - `status` ConnectionStatus
            - `status` 'needs_auth', required
            - `message` string, required
            - `url` string
        - ConnectionEnvInfo
          - `type` 'env', required
          - `name` string, required
          - `status` ConnectionStatus
            - `status` 'needs_auth', required
            - `message` string, required
            - `url` string

## Other responses

- `400`: InvalidRequestError
- `401`: UnauthorizedError
- `404`: LocationNotFoundError

## Changes

> 50 revisions in range; 1 not diffed.

- **2026-10-27** `d149ea008d28`: 1 warning
  - removed the optional property `data/items/configured` from the response with the `200` status
- **2026-10-26** `9c634117732b`: 1 info
  - added the optional property `data/items/configured` to the response with the `200` status

[Operation history](https://skmtc.dev/kaaass/apis/opencode/changes/api/integration/get.md)

---

[API](https://skmtc.dev/kaaass/apis/opencode.md) - [All operations](https://skmtc.dev/kaaass/apis/opencode/llms.txt) - [OpenAPI document](https://skmtc.dev/kaaass/apis/opencode/revisions/4e083d954707?raw)
