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

Get Source

GET/sources/{source_id}
Authorization
AuthorizationBearer token · headerrequired
Path parameters
source_idstringrequired
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
resultSourceConnector[]required
Show properties
Array of SourceConnector
namestring | null

User-defined connector name

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

Connector type (e.g., 'postgresql', 'mysql', 'mongodb')

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
service_idstring | null

Associated service identifier

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, Throttled (an api source waiting out its vendor's rate budget; task_statuses carries suspend_reason and resume_at), 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
connection_warningstring | null

API sources, on the create and update responses only: what the credential and resource checks found that did not stop the save but needs action, e.g. an ad account that is not active, an access token that expires within 14 days, or a resource that returned no rows (each resource's warning prefixed with its name, <resource>: <warning>). The same texts Test connection returns as its message and as each passing resource's warning. Absent when there is nothing to report.

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 source

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 GET 'https://api.streamkap.com/sources/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
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",
      "service_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",
      "connection_warning": "string",
      "kc_cluster_id": "string",
      "task_statuses": {
        "property1": {
          "property1": "string",
          "property2": "string"
        },
        "property2": {
          "property1": "string",
          "property2": "string"
        }
      },
      "tags": [
        "string"
      ]
    }
  ]
}