List all sources in a given project. If more than limit
sources exist, a cursor for pagination will be returned with the response.
List of sources and an optional cursor.
Response for a failed request
Validation Error
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",
- "port": 1883,
- "authentication": {
- "type": "basic",
- "username": "string"
}, - "useTls": true,
- "createdTime": 1730204346000,
- "lastUpdatedTime": 1730204346000,
- "caCertificate": {
- "thumbprint": "string",
- "expiresAt": 0
}, - "authCertificate": {
- "thumbprint": "string",
- "expiresAt": 0
}
}
], - "nextCursor": "string"
}