Skip to main content
GET
Get a data source on a data feed

Authorizations

Authorization
string
header
required

Path Parameters

data_feed_friendly_id
string
required

The data feed's friendly ID (e.g. datafd_aBcD1234eFgH5678).

source_friendly_id
string
required

The source's friendly ID (e.g. dsrc_aBcD1234eFgH5678).

Response

The requested source.

A source attached to a data feed.

id
string

The source's friendly ID.

Example:

"dsrc_aBcD1234eFgH5678"

name
string
Example:

"Warehouse readings"

source_type
enum<string>
Available options:
endpoint,
ui_upload,
sql,
api
Example:

"sql"

description
string | null
config
object

The source's stored config, with the keys described for the request body. Scalar values are returned as strings, so daily_fetch reads "true" and a port "1433"; objects and arrays (headers, query, auth, poll, success_when) are returned as JSON. Credentials never appear here, but values typed directly into headers or query are stored and returned as entered.

state
object

Fetch progress, returned as stored. A {{cursor_value}} source keeps cursor_value (the last row's cursor) and, for SQL, pre_query_result; a window source keeps window_start, window_finish, cursor_value (the next window's start) and capped: true when max_window_seconds cut the last window short. Empty for receive-based sources.

Example:
created_at
string<date-time>
updated_at
string<date-time>