/api/v1/comparison-resolutions
Requires the GV.APIReader application role, or a higher role (Owner > Contributor > Reader).
Operation ID · resolve_comparison
Request example
Authentication and access
- Required role: GV.APIReader
- Data classification: metadata
- Side effects: none
- Microsoft Entra delegated user token
- Microsoft Entra application token
Request body
Requiredapplication/json
Schema V1ComparisonResolutionRequestobject
Properties
context— Required
V1DatasetPairComparisonContext | V1DatasetsComparisonContext
One of
Selected by kind.
Option 1: V1DatasetPairComparisonContext
Schema V1DatasetPairComparisonContext
object
Properties
datasetPairUuid— Required
string (uuid)
kind— Required
string
- Constant:
"datasetPair"
object
Properties
kind— Required
string
- Constant:
"datasets"
sourceDatasetUuid— Required
string (uuid)
targetDatasetUuid— Required
string (uuid)
Additional properties are not allowed.
functionCode
string | null
Any of
Option 1: string
string
- Allowed values:
"COUNT","COUNT_DISTINCT","MIN","MAX","AVG","SUM","VALUE","OUTER_VALUE","SET_A_IN_B","SET_B_IN_A","SET_A_EQUALS_B"
null
selection
V1ComparisonSelection | null
Any of
Option 1: V1ComparisonSelection
Schema V1ComparisonSelection
object
Properties
choiceId— Required
string
- Allowed values:
"asPeerNumeric","asText","asPeerDateTime"
format
string
- Default:
""
null
sourceField— Required
string
minimum length: 1 · maximum length: 1024
sourceObservationScope
V1RootObservationScope | V1CollectionObservationScope
One of
Selected by kind.
Option 1: V1RootObservationScope
Schema V1RootObservationScope
object
Properties
kind
string
- Constant:
"root" - Default:
"root"
object
Properties
collectionPath— Required
string
minimum length: 1 · maximum length: 1024
kind— Required
string
- Constant:
"collection"
storedBinding
V1ComparisonBinding | null
Any of
Option 1: V1ComparisonBinding
Schema V1ComparisonBinding
object
Properties
source— Required
Schema V1ComparisonBindingSide
object
Properties
format
string
- Default:
""
transform
Schema V1FieldTransform
string
- Allowed values:
"none","to_string","to_long","to_decimal","to_double","to_boolean","to_date","to_timestamp","to_peer_numeric" - Default:
"none"
target— Required
Schema V1ComparisonBindingSide
object
Properties
format
string
- Default:
""
transform
Schema V1FieldTransform
string
- Allowed values:
"none","to_string","to_long","to_decimal","to_double","to_boolean","to_date","to_timestamp","to_peer_numeric" - Default:
"none"
null
surface— Required
string
- Allowed values:
"valueField","joinKey"
targetField— Required
string
minimum length: 1 · maximum length: 1024
targetObservationScope
V1RootObservationScope | V1CollectionObservationScope
One of
Selected by kind.
Option 1: V1RootObservationScope
Schema V1RootObservationScope
object
Properties
kind
string
- Constant:
"root" - Default:
"root"
object
Properties
collectionPath— Required
string
minimum length: 1 · maximum length: 1024
kind— Required
string
- Constant:
"collection"
Responses
This guide summarizes response status codes and headers. Retrieve the deployed, authenticated OpenAPI document for the exact response body schemas and examples. The API also provides an authenticated Swagger UI; opening it in a browser does not automatically attach a bearer token. Error responses useapplication/problem+json. The response’s stable code and type map to the error-code reference.
200
Canonical comparison resolution.401
A valid Microsoft Entra bearer token is required.403
The authenticated principal does not have the required role.404
The resource does not exist in this tenant.422
The request is syntactically valid but semantically invalid.429
The bounded application request rate was exceeded.Headers
- Retry-After: Seconds to wait before retrying.
integerminimum: 1
503
A required dependency is temporarily unavailable.Headers
- Retry-After: Seconds to wait before retrying.
integerminimum: 1