# Get Connection

Source: https://agenta.ai/docs/reference/api/fetch-tool-connection

`GET /tools/connections/{connection_id}`

Base URL: `https://us.cloud.agenta.ai/api` (US cloud), `https://eu.cloud.agenta.ai/api` (EU cloud) or `$AGENTA_HOST/api` (self-hosted). Authentication: `Authorization: ApiKey YOUR_API_KEY`.

Get a connection by ID: the caller's own, or one of the project's.

## Parameters

- `connection_id` (in path, string (uuid), required)

## Response schemas

### 200: Successful Response

- `count` (integer) Default: `0`.
- `connection` (object, nullable)
  - `flags` (object, nullable)
  - `tags` (object, nullable)
  - `meta` (object, nullable)
  - `created_at` (string (date-time), nullable)
  - `updated_at` (string (date-time), nullable)
  - `deleted_at` (string (date-time), nullable)
  - `created_by_id` (string (uuid), nullable)
  - `updated_by_id` (string (uuid), nullable)
  - `deleted_by_id` (string (uuid), nullable)
  - `name` (string, nullable)
  - `description` (string, nullable)
  - `slug` (string, nullable)
  - `id` (string (uuid), nullable)
  - `provider_key` (string, one of: "composio", "agenta", required)
  - `integration_key` (string, required)
  - `data` (object, nullable)
  - `status` (object, nullable)
    - `redirect_url` (string, nullable)
  - `organization_id` (string (uuid), nullable)
  - `user_id` (string (uuid), nullable)
  - `is_default` (boolean) Default: `false`.

### 422: Validation Error

- `detail` (array of object)
  - `loc` (array of string | integer, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (Context)
