---
title: "Query Connections"
method: POST
path: "/tools/connections/query"
tags: ["Tools"]
---

# Query Connections

`POST /tools/connections/query`

Query connections with optional filtering.

## Query parameters

- `provider_key` string, nullable
- `integration_key` string, nullable

## Response `200`

Successful Response

- ToolConnectionsResponse
  - `count` integer
  - `connections` ToolConnection[]
    - `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` 'composio' | 'agenta', required
    - `integration_key` string, required
    - `data` object, nullable
    - `status` ToolConnectionStatus
      - `redirect_url` string, nullable

## Other responses

- `422` — Validation Error

## Changes

> 359 revisions in range; 46 could not be searched.

- **2025-06-27** `e3e84db47198` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/tools/connections/query/post.md)

---

[API](https://skmtc.dev/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.dev/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/revisions/713e4f3b7519/schema)
