Skip to main content
GET
/
hostedextractors
/
sources
Python SDK
source_list = client.hosted_extractors.sources.list(limit=5)

for source in client.hosted_extractors.sources:
    source # do something with the source

for source_list in client.hosted_extractors.sources(chunk_size=25):
    source_list # do something with the sources
{
  "items": [
    {
      "type": "mqtt3",
      "externalId": "my.known.id",
      "host": "<string>",
      "createdTime": 1730204346000,
      "lastUpdatedTime": 1730204346000,
      "port": 1883,
      "authentication": {
        "type": "basic",
        "username": "<string>"
      },
      "useTls": true,
      "caCertificate": {
        "thumbprint": "<string>",
        "expiresAt": 123
      },
      "authCertificate": {
        "thumbprint": "<string>",
        "expiresAt": 123
      }
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Query Parameters

limit
integer
default:100

Limits the number of results to be returned. The maximum results returned by the server is 100 even if you specify a higher limit.

Required range: 1 <= x <= 100
cursor
string

Cursor for paging through results. In general, if a response contains a nextCursor property, it means that there may be more results, and you should pass that value as the cursor parameter in the next request.

Note that the cursor may or may not be encrypted, but either way, it is not intended to be decoded. Its internal structure is not a part of the public API, and may change without notice. You should treat it as an opaque string and not attempt to craft your own cursors.

Example:

"4zj0Vy2fo0NtNMb229mI9r1V3YG5NBL752kQz1cKtwo"

Response

List of sources and an optional cursor.

items
(MqttV3Source · object | MqttV5Source · object | EventHubSource · object | RestSource · object | object)[]
required
Maximum array length: 100
nextCursor
string

Cursor for pagination

Last modified on April 23, 2026