Skip to main content

ConnectorService.GetRuntimeInfo

Read the identity and admission state of one runtime replica. A planner or executor may call this method. Check the reported release and capabilities before dispatching work.

ConnectorService · Connector runtime API for provider implementers. The platform calls the provider runtime using its authenticated workload transport.

POST /prokrust.connector.v1.ConnectorService/GetRuntimeInfo

Request fields​

GetRuntimeInfoRequest

JSON fieldTypeMeaning
expectedConnectionIdentityFull identity of the connection the caller resolved. The runtime compares it to its own identity before serving the request.

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"
}
}

Response fields​

GetRuntimeInfoResponse

JSON fieldTypeMeaning
runtimeRuntimeInfoRuntime identity and supported operations. Check scan and partition admission separately.

Example response​

{
"runtime": {
"identity": {
"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"
},
"observedGeneration": "1",
"releaseVersion": "1.1.0-rc.1",
"imageDigest": "sha256:6105d6cc76af400325e94d588ce511be5bfdbb73b437dc51eca43917d7a43e3d",
"descriptorDigest": "sha256:194b520dc30384b3fc233e123778835e2adc362d91c6e33015ed3db2379d7ea1",
"capabilities": [
"probe",
"browse",
"inspect",
"original-files",
"atomic-source-snapshot",
"source-byte-budget",
"staged-byte-budget",
"source-request-budget",
"source-row-budget"
],
"selectorSchemaVersions": [
"v1"
],
"partitionConcurrency": 2,
"acceptsNewScans": true,
"acceptsPartitions": true,
"admissionEpoch": "1"
}
}