ConnectorService.BrowseSources
List potential source selectors for the connection. The planner omits the parent for the first level and passes back a continuation token to fetch another page.
ConnectorService · Connector runtime API for provider implementers. The platform calls the provider runtime using its authenticated workload transport.
POST /prokrust.connector.v1.ConnectorService/BrowseSources
Request fields
| JSON field | Type | Meaning |
|---|---|---|
expected | ConnectionIdentity | Full identity of the connection the caller resolved. The runtime compares it to its own identity before serving the request. |
parent | Selector (explicit presence) | Parent selector returned by browsing. Omit it to start at the root. |
pageSize | uint32 | Maximum entries to return. Zero selects the SDK default of 100. The maximum is 1,000. |
pageToken | bytes | Opaque continuation token from the previous page. Keep the same connection, parent, and page size. |
budget | Budget | Deadline and upstream usage limits for this page. |
Example request
{
"expected": {
"installationNamespaceUid": "00000000-0000-4000-8000-000000000001",
"workspaceNamespaceUid": "00000000-0000-4000-8000-000000000002",
"connection": {
"apiVersion": "sources.prokrust.ai/v1beta1",
"kind": "SyntheticConnection",
"namespace": "analytics",
"name": "fixture",
"uid": "00000000-0000-4000-8000-000000000003"
},
"providerId": "prokrust.ai/synthetic",
"providerMajor": 1,
"configDigest": "sha256:b0d4913f313bf0e18b6ec2d81d84ff748bdd415a26cb32243978b22b248567bc"
},
"pageSize": 20,
"budget": {
"deadline": "2026-03-10T12:02:00Z",
"maxSourceBytes": "1048576",
"maxStagedBytes": "0"
}
}
Response fields
| JSON field | Type | Meaning |
|---|---|---|
entries | list of SourceEntry | Items visible beneath the selected parent. |
nextPageToken | bytes | Opaque base64-encoded token in ProtoJSON. An empty token ends the list. |
usage | Usage | Measured usage for this page only. |
Example response
{
"entries": [
{
"displayName": "Events",
"category": "fixture",
"selector": {
"schemaVersion": "v1",
"canonicalJson": "eyJkYXRhc2V0IjoiZXZlbnRzIn0="
},
"selectable": true
}
],
"usage": {
"sourceBytes": {
"value": "20",
"certainty": "USAGE_CERTAINTY_EXACT"
},
"stagedBytes": {
"value": "0",
"certainty": "USAGE_CERTAINTY_EXACT"
},
"sourceRequests": {
"value": "0",
"certainty": "USAGE_CERTAINTY_EXACT"
},
"final": true,
"invocationId": "00000000-0000-4000-8000-000000000005"
}
}