Skip to content
Streamkap
Esc
↑↓navigate↵open⌘Jpreview

Search destinations (POST)

POST alternative for GET /destinations. Use when URL length limits are exceeded (e.g., many filter values). Supports both query parameters and request body. Body parameters take precedence over query parameters.

POST/destinations/search
Authorization
AuthorizationBearer token · headerrequired
Query parameters
pageinteger

Page number (1-indexed)

default: 1
page_sizeinteger

Number of results per page (max 100)

default: 10
sortstring

Sort field. Can be a DB field (name, created_at) or a metric field (latency, connector_status, recordsLag)

sort_dirSortDirectionEnum

Sort direction: 'asc' (ascending) or 'desc' (descending)

default: "asc"
Allowed:ascdesc
last_seen_offsetsstring | object

Last seen offsets for topic messages pagination (cursor-based)

first_seen_offsetsstring | object

First seen offsets for topic messages pagination (cursor-based)

idstring
partial_namestring
connectorstring

Filter by connector type. Comma-separated for multiple connectors (e.g., 'snowflake', 'snowflake,bigquery,clickhouse')

statusstring

Filter by connector status. Comma-separated for multiple statuses (e.g., 'Active', 'Active,Paused'). Valid statuses: Active, Broken, Paused, Stopped, Starting, Unassigned, Unknown

lagstring

Filter by consumer lag (records behind). Format: 'operator:value' (e.g., 'gt:100', 'lt:50'). Valid operators: gt (>), lt (<), gte (>=), lte (<=), eq (=), ne (!=)

tag_idsstring

Filter by tag IDs. Comma-separated list (e.g., 'tag1,tag2'). Use with tag_filter_operation to control AND/OR logic.

tag_filter_operationstring

Tag filter logic: 'or' (default) matches any tag, 'and' matches all tags.

default: "or"
Request body
application/json
Any of:
DestinationsPaginatedReqBody
connectorstring[] | string | null

List of connector types (as array) or comma-separated string. Body takes precedence over query params.

Show properties
Any of:
string[]
Array of string
string
string
string
null
null
statusstring[] | string | null

List of statuses (as array) or comma-separated string. Body takes precedence over query params.

Show properties
Any of:
string[]
Array of string
string
string
string
null
null
tag_idsstring[] | string | null

List of tag IDs (as array) or comma-separated string. Body takes precedence over query params.

Show properties
Any of:
string[]
Array of string
string
string
string
null
null
tag_filter_operationstring | null

Tag filter logic: 'or' (default) matches any tag, 'and' matches all tags. Body takes precedence over query params.

Show properties
Any of:
string
string
null
null
null
null
Responses
200

Successful Response

pageinteger

Current page number

default: 1
page_sizeinteger

Results per page

default: 10
totalinteger | null

Total number of results

Show properties
Any of:
integer
integer
null
null
has_nextboolean | null

Whether more pages exist

Show properties
Any of:
boolean
boolean
null
null
resultDestinationConnector[]required
Show properties
Array of DestinationConnector
namestring | null

User-defined connector name

Show properties
Any of:
string
string
null
null
connectorstring | null

Connector type (e.g., 'snowflake', 'bigquery', 'clickhouse')

Show properties
Any of:
string
string
null
null
idstring | null

Unique identifier

Show properties
Any of:
string
string
null
null
connector_display_namestring | null

Human-readable connector type name

Show properties
Any of:
string
string
null
null
created_timestampstring | string<date-time> | null

Creation timestamp (ISO 8601)

Show properties
Any of:
string
string
string<date-time>
string<date-time>
null
null
sub_idstring | null

Subscription identifier

Show properties
Any of:
string
string
null
null
tenant_idstring | null

Tenant identifier for multi-tenancy

Show properties
Any of:
string
string
null
null
configobject | null

The connector's configuration. Its properties per connector type are documented on the create and update requests' config.

Show properties
Any of:
object
object
null
null
topic_idsstring | integer[] | null

List of associated topic identifiers

Show properties
Any of:
string | integer[]
Array of string | integer
Any of:
string
string
integer
integer
null
null
topic_mapobject | null

Mapping of topics to their partitions or related entities

Show properties
Any of:
object
object
null
null
topicsstring | integer[] | null

List of topic names

Show properties
Any of:
string | integer[]
Array of string | integer
Any of:
string
string
integer
integer
null
null
tasksinteger[] | null

List of task identifiers

Show properties
Any of:
integer[]
Array of integer
integer
null
null
connector_statusstring | null

Current status: Active, Paused, Stopped, Broken, Starting, Unassigned, Unknown, or a Pending* state echoed from desired_state while a requested change is being applied

Show properties
Any of:
string
string
null
null
desired_statestring | null

Desired state: Active, Paused, Stopped, or a pending change Streamkap is still applying — Pending, Pending Update, Pending Delete, Pending Stop, Pending Pause, Pending Resume, Pending Restart

Show properties
Any of:
string
string
null
null
reconcile_errorstring | null

Why the connector is Broken, as recorded when Streamkap last tried to apply its state. Secrets are masked; absent while the connector is healthy.

Show properties
Any of:
string
string
null
null
schema_evolution_warningstring | null

Advisory: this destination silently drops fields its API sources start sending, because schema evolution is set to 'none'. Absent whenever nothing is at risk. Nothing is blocked — 'none' is a valid choice for a pre-created destination schema.

Show properties
Any of:
string
string
null
null
kc_cluster_idstring | null

Kafka Connect cluster this connector is deployed to. None means the default cluster.

Show properties
Any of:
string
string
null
null
task_statusesobject | null

Status information for each connector task

Show properties
Any of:
object
object
null
null
tagsstring[] | null

List of tag IDs assigned to this destination

Show properties
Any of:
string[]
Array of string
string
null
null
422

Validation Error

detailValidationError[]
Show properties
Array of ValidationError
locstring | integer[]required
Show properties
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequired
typestringrequired
inputany
ctxobject
Request
curl -X POST 'https://api.streamkap.com/destinations/search' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "connector": [
    "string"
  ],
  "status": [
    "string"
  ],
  "tag_ids": [
    "string"
  ],
  "tag_filter_operation": "and"
}'
Response
{
  "page": 1,
  "page_size": 10,
  "total": 0,
  "has_next": true,
  "result": [
    {
      "name": "string",
      "connector": "string",
      "id": "string",
      "connector_display_name": "string",
      "created_timestamp": "string",
      "sub_id": "string",
      "tenant_id": "string",
      "config": {
        "property1": "string",
        "property2": "string"
      },
      "topic_ids": [
        "string"
      ],
      "topic_map": {
        "property1": [
          "string"
        ],
        "property2": [
          "string"
        ]
      },
      "topics": [
        "string"
      ],
      "tasks": [
        0
      ],
      "connector_status": "string",
      "desired_state": "string",
      "reconcile_error": "string",
      "schema_evolution_warning": "string",
      "kc_cluster_id": "string",
      "task_statuses": {
        "property1": {
          "property1": "string",
          "property2": "string"
        },
        "property2": {
          "property1": "string",
          "property2": "string"
        }
      },
      "tags": [
        "string"
      ]
    }
  ]
}