Ontology
Lists ontology concepts for the workspace. Paginated (limit, cursor). Optional query param sourceId filters to concepts that have a field mapping for that source. Read from platform MongoDB (ontologyConcepts collection). Concepts are created by ontology extraction on sources or manually via POST.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123Page size (1-1000, default 50).
1Opaque cursor from a previous response's pagination.cursor.
exampleRestrict to concepts mapped to this source.
123Successful response
Unauthorized
Forbidden
Too Many Requests; the response carries Retry-After
Internal Server Error
GET /api/v1/workspaces/{wsId}/ontology/concepts HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "text",
"organisationId": "text",
"workspaceId": "text",
"name": "text",
"description": null,
"conceptClassification": "identifier",
"anchorConceptLinks": [
"text"
],
"schemaFieldName": "text",
"schemaType": "None",
"schemaSubtype": "Integer",
"metadata": {
"categories": [
"text"
],
"minValue": null,
"maxValue": null,
"isMonotonicallyIncreasing": null,
"isMonotonicallyDecreasing": null,
"isUnique": null,
"isCyclic": null,
"isHeterogeneousIdentifier": null,
"compositeScopeConceptId": null,
"isUniformDistribution": null,
"locationType": "latitude",
"coordinateFormat": "dd",
"coordinateDatum": "wgs84",
"coordinatePairConceptId": null,
"locationDetectionSource": "values",
"latitudeInRangeFraction": null,
"longitudeInRangeFraction": null,
"fractionalPartFraction": null,
"coordinatePairFraction": null,
"dmsCoordinateFraction": null,
"postalCodeFraction": null,
"addressShapeFraction": null,
"enrichments": {
"ANY_ADDITIONAL_PROPERTY": {
"status": "running",
"kind": "forward",
"enrichedAt": null,
"enricherVersion": null,
"dataVersion": null,
"version": null,
"sidecarKey": null,
"keyFields": [
"text"
],
"hintFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"corroborationFields": [
"text"
],
"latLonPrecision": null,
"distinctTotal": null,
"matchedCount": null,
"unmatchedCount": null,
"truncated": null,
"error": null,
"appliedDatum": null
}
},
"geoEnrichmentStatus": "running",
"geoEnrichmentKind": "forward",
"geoEnrichedAt": null,
"geoEnrichmentVersion": null,
"geoSidecarKey": null,
"geoDistinctTotal": null,
"geoMatchedCount": null,
"geoUnmatchedCount": null,
"geoTruncated": null,
"geoEnrichmentError": null,
"nanFillStrategy": "forward",
"changeRate": null,
"dateTimeFormat": null,
"displayFormat": null,
"averageInterval": null,
"isConsistentInterval": null,
"unit": null,
"unitModifier": null,
"higherIsBetter": null,
"isEqualInterval": null,
"intervalSize": null,
"valueClass": "continuous",
"fracZero": null,
"zeroRunLengthP95": null,
"nonZeroRunLengthP95": null,
"trendSlopePerSecond": null,
"trendR2": null,
"emailFraction": null,
"medianLength": null,
"distinctLengthCount": 1,
"tsGranularity": null,
"tsValidGranularities": [
"text"
],
"tsTypicalDeltaSeconds": null,
"tsSelectedGrid": null,
"tsGapProfile": {
"expectedIntervalSeconds": null,
"p50GapSeconds": null,
"p95GapSeconds": null,
"p99GapSeconds": null,
"maxGapSeconds": null,
"gapCount": null,
"largestGapStart": null
},
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsPerEnvProfiles": {
"ANY_ADDITIONAL_PROPERTY": {
"envKey": "text",
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"trendSlopePerSecond": null,
"trendR2": null,
"tsTypicalDeltaSeconds": null
}
},
"tsAnalyzerVersion": null,
"tsAnalyzedAt": null,
"elementSchemaType": "None",
"elementCategories": [
"text"
],
"sizeStatistics": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"lockedMetadataFields": [
"text"
],
"detectedMetadata": {
"categories": [
"text"
],
"minValue": null,
"maxValue": null,
"isMonotonicallyIncreasing": null,
"isMonotonicallyDecreasing": null,
"isUnique": null,
"isCyclic": null,
"isHeterogeneousIdentifier": null,
"compositeScopeConceptId": null,
"isUniformDistribution": null,
"locationType": "latitude",
"coordinateFormat": "dd",
"coordinateDatum": "wgs84",
"coordinatePairConceptId": null,
"locationDetectionSource": "values",
"latitudeInRangeFraction": null,
"longitudeInRangeFraction": null,
"fractionalPartFraction": null,
"coordinatePairFraction": null,
"dmsCoordinateFraction": null,
"postalCodeFraction": null,
"addressShapeFraction": null,
"enrichments": {
"ANY_ADDITIONAL_PROPERTY": {
"status": "running",
"kind": "forward",
"enrichedAt": null,
"enricherVersion": null,
"dataVersion": null,
"version": null,
"sidecarKey": null,
"keyFields": [
"text"
],
"hintFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"corroborationFields": [
"text"
],
"latLonPrecision": null,
"distinctTotal": null,
"matchedCount": null,
"unmatchedCount": null,
"truncated": null,
"error": null,
"appliedDatum": null
}
},
"geoEnrichmentStatus": "running",
"geoEnrichmentKind": "forward",
"geoEnrichedAt": null,
"geoEnrichmentVersion": null,
"geoSidecarKey": null,
"geoDistinctTotal": null,
"geoMatchedCount": null,
"geoUnmatchedCount": null,
"geoTruncated": null,
"geoEnrichmentError": null,
"nanFillStrategy": "forward",
"changeRate": null,
"dateTimeFormat": null,
"displayFormat": null,
"averageInterval": null,
"isConsistentInterval": null,
"unit": null,
"unitModifier": null,
"higherIsBetter": null,
"isEqualInterval": null,
"intervalSize": null,
"valueClass": "continuous",
"fracZero": null,
"zeroRunLengthP95": null,
"nonZeroRunLengthP95": null,
"trendSlopePerSecond": null,
"trendR2": null,
"emailFraction": null,
"medianLength": null,
"distinctLengthCount": 1,
"tsGranularity": null,
"tsValidGranularities": [
"text"
],
"tsTypicalDeltaSeconds": null,
"tsSelectedGrid": null,
"tsGapProfile": {
"expectedIntervalSeconds": null,
"p50GapSeconds": null,
"p95GapSeconds": null,
"p99GapSeconds": null,
"maxGapSeconds": null,
"gapCount": null,
"largestGapStart": null
},
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsPerEnvProfiles": {
"ANY_ADDITIONAL_PROPERTY": {
"envKey": "text",
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"trendSlopePerSecond": null,
"trendR2": null,
"tsTypicalDeltaSeconds": null
}
},
"tsAnalyzerVersion": null,
"tsAnalyzedAt": null,
"elementSchemaType": "None",
"elementCategories": [
"text"
],
"sizeStatistics": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"fieldMappings": [
{
"sourceId": "text",
"field": "text",
"status": "confirmed",
"source": "ingest",
"confidence": null,
"evidence": null,
"valueMap": [
[]
],
"canonicalField": null,
"scopeFields": [
"text"
],
"precedence": null,
"keyRole": "primary",
"conformance": {
"rowsScanned": 1,
"nullRate": 1,
"allowedValueCoverage": null,
"unresolvedValues": [
{
"value": "text",
"count": 1
}
],
"inferredGranularity": null,
"granularityMatch": null,
"duplicateAnchorKeys": null,
"unitNote": null,
"verdict": "pass"
},
"decidedBy": null,
"decidedAt": null
}
],
"derivedInfo": {
"formula": null,
"formulaBlocks": {
"nodeId": "text",
"kind": "text",
"blockType": "text",
"values": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"derivedType": "manual",
"kind": "op",
"source": "user",
"sourceColumns": [
"text"
],
"expression": null,
"r2": null,
"isDeterministic": null,
"lag": null,
"cumulativeDirection": null,
"sourceDataViewId": null,
"operationLineage": {
"opType": "SQL_QUERY",
"opId": "text",
"parentColumns": [
"text"
],
"parentConceptIds": [
"text"
]
},
"viewSnapshot": "[Circular Reference]",
"lineageHash": null,
"sourceJoinConfig": {
"joinType": "left",
"strategy": null
}
},
"conceptKind": "standard",
"metricSql": null,
"relationshipRules": [
{
"ruleType": "conditional_values",
"sourceVariable": "text",
"condition": {
"variable": "text",
"operator": "eq",
"value": 1
},
"allowedValues": [
"text"
],
"minValue": null,
"maxValue": null,
"confidence": 1,
"support": 0,
"strength": "hard",
"violationRate": null,
"source": null,
"cycle": null
}
],
"temporalPrerequisites": [
"text"
],
"suggestedRole": "source",
"trustTier": "exploratory",
"ontologyRef": {
"ontologyId": "text",
"ontologyVersion": "text",
"canonicalId": "text",
"installScope": {
"conceptCanonicalIds": [
"text"
],
"filters": [
{
"conceptRef": "text",
"values": [
"text"
],
"start": null,
"end": null
}
]
}
},
"layerIds": [
"text"
],
"tags": [
"text"
],
"valueMappings": [
{
"canonicalValue": "text",
"aliases": [
"text"
]
}
],
"lockedConceptFields": [
"text"
],
"detectedConceptStructure": {
"temporalPrerequisites": [
"text"
],
"suggestedRole": "source"
},
"lastEditedBy": null,
"lastEditedAt": null,
"lineageDrift": null,
"editVersion": 0,
"createdAt": "text",
"updatedAt": "text"
}
],
"pagination": {
"cursor": "text",
"hasMore": true,
"total": 1
}
}Creates a new ontology concept. Body: name, schemaFieldName, schemaType, optional metadata, description, conceptClassification, fieldMappings, anchorConceptLinks, derivedInfo, suggestedRole. Stored in platform MongoDB only; no data-service call. Used for manual curation or when auto-extraction is not used.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123[]standardPossible values: Successful response
Bad Request
Unauthorized
Forbidden
Unprocessable Entity
Too Many Requests; the response carries Retry-After
Internal Server Error
POST /api/v1/workspaces/{wsId}/ontology/concepts HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 5049
{
"name": "text",
"schemaFieldName": "text",
"schemaType": "None",
"schemaSubtype": "Integer",
"metadata": {
"categories": [
"text"
],
"minValue": null,
"maxValue": null,
"isMonotonicallyIncreasing": null,
"isMonotonicallyDecreasing": null,
"isUnique": null,
"isCyclic": null,
"isHeterogeneousIdentifier": null,
"compositeScopeConceptId": null,
"isUniformDistribution": null,
"locationType": "latitude",
"coordinateFormat": "dd",
"coordinateDatum": "wgs84",
"coordinatePairConceptId": null,
"locationDetectionSource": "values",
"latitudeInRangeFraction": null,
"longitudeInRangeFraction": null,
"fractionalPartFraction": null,
"coordinatePairFraction": null,
"dmsCoordinateFraction": null,
"postalCodeFraction": null,
"addressShapeFraction": null,
"enrichments": {
"ANY_ADDITIONAL_PROPERTY": {
"status": "running",
"kind": "forward",
"enrichedAt": null,
"enricherVersion": null,
"dataVersion": null,
"version": null,
"sidecarKey": null,
"keyFields": [
"text"
],
"hintFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"corroborationFields": [
"text"
],
"latLonPrecision": null,
"distinctTotal": null,
"matchedCount": null,
"unmatchedCount": null,
"truncated": null,
"error": null,
"appliedDatum": null
}
},
"geoEnrichmentStatus": "running",
"geoEnrichmentKind": "forward",
"geoEnrichedAt": null,
"geoEnrichmentVersion": null,
"geoSidecarKey": null,
"geoDistinctTotal": null,
"geoMatchedCount": null,
"geoUnmatchedCount": null,
"geoTruncated": null,
"geoEnrichmentError": null,
"nanFillStrategy": "forward",
"changeRate": null,
"dateTimeFormat": null,
"displayFormat": null,
"averageInterval": null,
"isConsistentInterval": null,
"unit": null,
"unitModifier": null,
"higherIsBetter": null,
"isEqualInterval": null,
"intervalSize": null,
"valueClass": "continuous",
"fracZero": null,
"zeroRunLengthP95": null,
"nonZeroRunLengthP95": null,
"trendSlopePerSecond": null,
"trendR2": null,
"emailFraction": null,
"medianLength": null,
"distinctLengthCount": 1,
"tsGranularity": null,
"tsValidGranularities": [
"text"
],
"tsTypicalDeltaSeconds": null,
"tsSelectedGrid": null,
"tsGapProfile": {
"expectedIntervalSeconds": null,
"p50GapSeconds": null,
"p95GapSeconds": null,
"p99GapSeconds": null,
"maxGapSeconds": null,
"gapCount": null,
"largestGapStart": null
},
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsPerEnvProfiles": {
"ANY_ADDITIONAL_PROPERTY": {
"envKey": "text",
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"trendSlopePerSecond": null,
"trendR2": null,
"tsTypicalDeltaSeconds": null
}
},
"tsAnalyzerVersion": null,
"tsAnalyzedAt": null,
"elementSchemaType": "None",
"elementCategories": [
"text"
],
"sizeStatistics": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"description": null,
"conceptClassification": "identifier",
"anchorConceptLinks": [
"text"
],
"derivedInfo": {
"formula": null,
"formulaBlocks": {
"nodeId": "text",
"kind": "text",
"blockType": "text",
"values": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"derivedType": "manual",
"kind": "op",
"source": "user",
"sourceColumns": [
"text"
],
"expression": null,
"r2": null,
"isDeterministic": null,
"lag": null,
"cumulativeDirection": null,
"sourceDataViewId": null,
"operationLineage": {
"opType": "SQL_QUERY",
"opId": "text",
"parentColumns": [
"text"
],
"parentConceptIds": [
"text"
]
},
"viewSnapshot": {
"sources": [
{
"id": "text",
"type": "text",
"name": null,
"conceptIds": [
"text"
],
"conceptVersions": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"version": {
"kind": "text"
}
}
],
"operations": [
"[Circular Reference]"
],
"outputColumn": "text"
},
"lineageHash": null,
"sourceJoinConfig": {
"joinType": "left",
"strategy": null
}
},
"conceptKind": "standard",
"metricSql": null,
"suggestedRole": "source",
"fieldMappings": [
{
"field": "text",
"status": "confirmed",
"source": "ingest",
"confidence": null,
"evidence": null,
"valueMap": [
[]
],
"canonicalField": null,
"scopeFields": [
"text"
],
"precedence": null,
"keyRole": "primary",
"conformance": {
"rowsScanned": 1,
"nullRate": 1,
"allowedValueCoverage": null,
"unresolvedValues": [
{
"value": "text",
"count": 1
}
],
"inferredGranularity": null,
"granularityMatch": null,
"duplicateAnchorKeys": null,
"unitNote": null,
"verdict": "pass"
},
"decidedBy": null,
"decidedAt": null,
"sourceId": "text"
}
]
}{
"data": {
"id": "text",
"organisationId": "text",
"workspaceId": "text",
"name": "text",
"description": null,
"conceptClassification": "identifier",
"anchorConceptLinks": [
"text"
],
"schemaFieldName": "text",
"schemaType": "None",
"schemaSubtype": "Integer",
"metadata": {
"categories": [
"text"
],
"minValue": null,
"maxValue": null,
"isMonotonicallyIncreasing": null,
"isMonotonicallyDecreasing": null,
"isUnique": null,
"isCyclic": null,
"isHeterogeneousIdentifier": null,
"compositeScopeConceptId": null,
"isUniformDistribution": null,
"locationType": "latitude",
"coordinateFormat": "dd",
"coordinateDatum": "wgs84",
"coordinatePairConceptId": null,
"locationDetectionSource": "values",
"latitudeInRangeFraction": null,
"longitudeInRangeFraction": null,
"fractionalPartFraction": null,
"coordinatePairFraction": null,
"dmsCoordinateFraction": null,
"postalCodeFraction": null,
"addressShapeFraction": null,
"enrichments": {
"ANY_ADDITIONAL_PROPERTY": {
"status": "running",
"kind": "forward",
"enrichedAt": null,
"enricherVersion": null,
"dataVersion": null,
"version": null,
"sidecarKey": null,
"keyFields": [
"text"
],
"hintFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"corroborationFields": [
"text"
],
"latLonPrecision": null,
"distinctTotal": null,
"matchedCount": null,
"unmatchedCount": null,
"truncated": null,
"error": null,
"appliedDatum": null
}
},
"geoEnrichmentStatus": "running",
"geoEnrichmentKind": "forward",
"geoEnrichedAt": null,
"geoEnrichmentVersion": null,
"geoSidecarKey": null,
"geoDistinctTotal": null,
"geoMatchedCount": null,
"geoUnmatchedCount": null,
"geoTruncated": null,
"geoEnrichmentError": null,
"nanFillStrategy": "forward",
"changeRate": null,
"dateTimeFormat": null,
"displayFormat": null,
"averageInterval": null,
"isConsistentInterval": null,
"unit": null,
"unitModifier": null,
"higherIsBetter": null,
"isEqualInterval": null,
"intervalSize": null,
"valueClass": "continuous",
"fracZero": null,
"zeroRunLengthP95": null,
"nonZeroRunLengthP95": null,
"trendSlopePerSecond": null,
"trendR2": null,
"emailFraction": null,
"medianLength": null,
"distinctLengthCount": 1,
"tsGranularity": null,
"tsValidGranularities": [
"text"
],
"tsTypicalDeltaSeconds": null,
"tsSelectedGrid": null,
"tsGapProfile": {
"expectedIntervalSeconds": null,
"p50GapSeconds": null,
"p95GapSeconds": null,
"p99GapSeconds": null,
"maxGapSeconds": null,
"gapCount": null,
"largestGapStart": null
},
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsPerEnvProfiles": {
"ANY_ADDITIONAL_PROPERTY": {
"envKey": "text",
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"trendSlopePerSecond": null,
"trendR2": null,
"tsTypicalDeltaSeconds": null
}
},
"tsAnalyzerVersion": null,
"tsAnalyzedAt": null,
"elementSchemaType": "None",
"elementCategories": [
"text"
],
"sizeStatistics": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"lockedMetadataFields": [
"text"
],
"detectedMetadata": {
"categories": [
"text"
],
"minValue": null,
"maxValue": null,
"isMonotonicallyIncreasing": null,
"isMonotonicallyDecreasing": null,
"isUnique": null,
"isCyclic": null,
"isHeterogeneousIdentifier": null,
"compositeScopeConceptId": null,
"isUniformDistribution": null,
"locationType": "latitude",
"coordinateFormat": "dd",
"coordinateDatum": "wgs84",
"coordinatePairConceptId": null,
"locationDetectionSource": "values",
"latitudeInRangeFraction": null,
"longitudeInRangeFraction": null,
"fractionalPartFraction": null,
"coordinatePairFraction": null,
"dmsCoordinateFraction": null,
"postalCodeFraction": null,
"addressShapeFraction": null,
"enrichments": {
"ANY_ADDITIONAL_PROPERTY": {
"status": "running",
"kind": "forward",
"enrichedAt": null,
"enricherVersion": null,
"dataVersion": null,
"version": null,
"sidecarKey": null,
"keyFields": [
"text"
],
"hintFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"corroborationFields": [
"text"
],
"latLonPrecision": null,
"distinctTotal": null,
"matchedCount": null,
"unmatchedCount": null,
"truncated": null,
"error": null,
"appliedDatum": null
}
},
"geoEnrichmentStatus": "running",
"geoEnrichmentKind": "forward",
"geoEnrichedAt": null,
"geoEnrichmentVersion": null,
"geoSidecarKey": null,
"geoDistinctTotal": null,
"geoMatchedCount": null,
"geoUnmatchedCount": null,
"geoTruncated": null,
"geoEnrichmentError": null,
"nanFillStrategy": "forward",
"changeRate": null,
"dateTimeFormat": null,
"displayFormat": null,
"averageInterval": null,
"isConsistentInterval": null,
"unit": null,
"unitModifier": null,
"higherIsBetter": null,
"isEqualInterval": null,
"intervalSize": null,
"valueClass": "continuous",
"fracZero": null,
"zeroRunLengthP95": null,
"nonZeroRunLengthP95": null,
"trendSlopePerSecond": null,
"trendR2": null,
"emailFraction": null,
"medianLength": null,
"distinctLengthCount": 1,
"tsGranularity": null,
"tsValidGranularities": [
"text"
],
"tsTypicalDeltaSeconds": null,
"tsSelectedGrid": null,
"tsGapProfile": {
"expectedIntervalSeconds": null,
"p50GapSeconds": null,
"p95GapSeconds": null,
"p99GapSeconds": null,
"maxGapSeconds": null,
"gapCount": null,
"largestGapStart": null
},
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsPerEnvProfiles": {
"ANY_ADDITIONAL_PROPERTY": {
"envKey": "text",
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"trendSlopePerSecond": null,
"trendR2": null,
"tsTypicalDeltaSeconds": null
}
},
"tsAnalyzerVersion": null,
"tsAnalyzedAt": null,
"elementSchemaType": "None",
"elementCategories": [
"text"
],
"sizeStatistics": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"fieldMappings": [
{
"sourceId": "text",
"field": "text",
"status": "confirmed",
"source": "ingest",
"confidence": null,
"evidence": null,
"valueMap": [
[]
],
"canonicalField": null,
"scopeFields": [
"text"
],
"precedence": null,
"keyRole": "primary",
"conformance": {
"rowsScanned": 1,
"nullRate": 1,
"allowedValueCoverage": null,
"unresolvedValues": [
{
"value": "text",
"count": 1
}
],
"inferredGranularity": null,
"granularityMatch": null,
"duplicateAnchorKeys": null,
"unitNote": null,
"verdict": "pass"
},
"decidedBy": null,
"decidedAt": null
}
],
"derivedInfo": {
"formula": null,
"formulaBlocks": {
"nodeId": "text",
"kind": "text",
"blockType": "text",
"values": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"derivedType": "manual",
"kind": "op",
"source": "user",
"sourceColumns": [
"text"
],
"expression": null,
"r2": null,
"isDeterministic": null,
"lag": null,
"cumulativeDirection": null,
"sourceDataViewId": null,
"operationLineage": {
"opType": "SQL_QUERY",
"opId": "text",
"parentColumns": [
"text"
],
"parentConceptIds": [
"text"
]
},
"viewSnapshot": {
"sources": [
{
"id": "text",
"type": "text",
"name": null,
"conceptIds": [
"text"
],
"conceptVersions": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"version": {
"kind": "text"
}
}
],
"operations": "[Circular Reference]",
"outputColumn": "text"
},
"lineageHash": null,
"sourceJoinConfig": {
"joinType": "left",
"strategy": null
}
},
"conceptKind": "standard",
"metricSql": null,
"relationshipRules": [
{
"ruleType": "conditional_values",
"sourceVariable": "text",
"condition": {
"variable": "text",
"operator": "eq",
"value": 1
},
"allowedValues": [
"text"
],
"minValue": null,
"maxValue": null,
"confidence": 1,
"support": 0,
"strength": "hard",
"violationRate": null,
"source": null,
"cycle": null
}
],
"temporalPrerequisites": [
"text"
],
"suggestedRole": "source",
"trustTier": "exploratory",
"ontologyRef": {
"ontologyId": "text",
"ontologyVersion": "text",
"canonicalId": "text",
"installScope": {
"conceptCanonicalIds": [
"text"
],
"filters": [
{
"conceptRef": "text",
"values": [
"text"
],
"start": null,
"end": null
}
]
}
},
"layerIds": [
"text"
],
"tags": [
"text"
],
"valueMappings": [
{
"canonicalValue": "text",
"aliases": [
"text"
]
}
],
"lockedConceptFields": [
"text"
],
"detectedConceptStructure": {
"temporalPrerequisites": [
"text"
],
"suggestedRole": "source"
},
"lastEditedBy": null,
"lastEditedAt": null,
"lineageDrift": null,
"editVersion": 0,
"createdAt": "text",
"updatedAt": "text"
}
}Returns the full ontology as a graph: nodes are all workspace concepts (from platform MongoDB); edges are anchor (anchorConceptLinks) and temporal_prerequisite (temporalPrerequisites). Built in-platform from ontologyConcepts; no proxy. Same structure as catalog/graph but from the ontology API.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123Successful response
Payload not declared in this repo
Unauthorized
Forbidden
Too Many Requests; the response carries Retry-After
Internal Server Error
GET /api/v1/workspaces/{wsId}/ontology/graph HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": "text"
}Runs an Anchor SQL statement over the workspace's ontology concepts. Concepts are referenced by name and the ontology plans the joins, time alignment and location matching; SHOW/DESCRIBE metadata commands are also accepted. Always responds 200 with the result union discriminated by ok: rows responses carry rows, columns, units, the compiled plan, warnings and nextStartKey (pass back as startKey to fetch the next page); error responses carry the structured compile error (code, span, candidates, suggestedQuery). The materialised result is not persisted; create a dataset via POST datasets to keep it.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123Anchor SQL statement over ontology concepts. Reference concepts by name — the ontology plans the joins, time alignment and location matching; most queries need no FROM clause (scope explicitly with FROM source:"name", dataset:"name" or tag:"name" when needed). SHOW/DESCRIBE metadata commands are also accepted. Workspace and organisation ids are injected from the auth context.
Rows per page (default 1000). Page through the full result with startKey; an Anchor SQL LIMIT still caps the statement itself.
Resume paging from a rows response's nextStartKey
Compile and plan without executing; the response is the validated arm carrying the plan and warnings
related adds ontology-linked context columns; minimal returns only the selected concepts and their anchors
Successful response
Anchor SQL result union, discriminated by ok and kind: rows (materialised result with nextStartKey paging), metadata (SHOW/DESCRIBE), validated (compile-only), or a structured compile error
Bad Request
Unauthorized
Forbidden
Unprocessable Entity
Too Many Requests; the response carries Retry-After
Internal Server Error
POST /api/v1/workspaces/{wsId}/ontology/query HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"anchorSql": "text",
"limit": 1,
"startKey": 1,
"validateOnly": true,
"projectionMode": "related"
}{
"data": {
"ok": true,
"kind": "text",
"sql": "text",
"columns": [
"text"
],
"rows": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"rowCount": null,
"totalRowCount": null,
"truncated": false,
"nextStartKey": null,
"schemaEntries": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"units": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"plan": {
"chips": [
{
"kind": "text",
"label": "text",
"detail": null
}
],
"joinPlan": [
{
"sourceDatasetId": "text",
"targetDatasetId": "text",
"conceptName": "text",
"strategy": "text",
"fanout": null
}
],
"strategy": "text"
},
"warnings": [
"text"
],
"dataViewId": null,
"relatedColumns": [
"text"
],
"involvedConcepts": [
{
"conceptId": "text",
"name": "text",
"role": "referenced"
}
]
}
}Returns the concept by id from platform MongoDB. Must belong to the workspace.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123Path parameter: id
123Successful response
Unauthorized
Forbidden
Not Found
Too Many Requests; the response carries Retry-After
Internal Server Error
GET /api/v1/workspaces/{wsId}/ontology/concepts/{id} HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"id": "text",
"organisationId": "text",
"workspaceId": "text",
"name": "text",
"description": null,
"conceptClassification": "identifier",
"anchorConceptLinks": [
"text"
],
"schemaFieldName": "text",
"schemaType": "None",
"schemaSubtype": "Integer",
"metadata": {
"categories": [
"text"
],
"minValue": null,
"maxValue": null,
"isMonotonicallyIncreasing": null,
"isMonotonicallyDecreasing": null,
"isUnique": null,
"isCyclic": null,
"isHeterogeneousIdentifier": null,
"compositeScopeConceptId": null,
"isUniformDistribution": null,
"locationType": "latitude",
"coordinateFormat": "dd",
"coordinateDatum": "wgs84",
"coordinatePairConceptId": null,
"locationDetectionSource": "values",
"latitudeInRangeFraction": null,
"longitudeInRangeFraction": null,
"fractionalPartFraction": null,
"coordinatePairFraction": null,
"dmsCoordinateFraction": null,
"postalCodeFraction": null,
"addressShapeFraction": null,
"enrichments": {
"ANY_ADDITIONAL_PROPERTY": {
"status": "running",
"kind": "forward",
"enrichedAt": null,
"enricherVersion": null,
"dataVersion": null,
"version": null,
"sidecarKey": null,
"keyFields": [
"text"
],
"hintFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"corroborationFields": [
"text"
],
"latLonPrecision": null,
"distinctTotal": null,
"matchedCount": null,
"unmatchedCount": null,
"truncated": null,
"error": null,
"appliedDatum": null
}
},
"geoEnrichmentStatus": "running",
"geoEnrichmentKind": "forward",
"geoEnrichedAt": null,
"geoEnrichmentVersion": null,
"geoSidecarKey": null,
"geoDistinctTotal": null,
"geoMatchedCount": null,
"geoUnmatchedCount": null,
"geoTruncated": null,
"geoEnrichmentError": null,
"nanFillStrategy": "forward",
"changeRate": null,
"dateTimeFormat": null,
"displayFormat": null,
"averageInterval": null,
"isConsistentInterval": null,
"unit": null,
"unitModifier": null,
"higherIsBetter": null,
"isEqualInterval": null,
"intervalSize": null,
"valueClass": "continuous",
"fracZero": null,
"zeroRunLengthP95": null,
"nonZeroRunLengthP95": null,
"trendSlopePerSecond": null,
"trendR2": null,
"emailFraction": null,
"medianLength": null,
"distinctLengthCount": 1,
"tsGranularity": null,
"tsValidGranularities": [
"text"
],
"tsTypicalDeltaSeconds": null,
"tsSelectedGrid": null,
"tsGapProfile": {
"expectedIntervalSeconds": null,
"p50GapSeconds": null,
"p95GapSeconds": null,
"p99GapSeconds": null,
"maxGapSeconds": null,
"gapCount": null,
"largestGapStart": null
},
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsPerEnvProfiles": {
"ANY_ADDITIONAL_PROPERTY": {
"envKey": "text",
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"trendSlopePerSecond": null,
"trendR2": null,
"tsTypicalDeltaSeconds": null
}
},
"tsAnalyzerVersion": null,
"tsAnalyzedAt": null,
"elementSchemaType": "None",
"elementCategories": [
"text"
],
"sizeStatistics": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"lockedMetadataFields": [
"text"
],
"detectedMetadata": {
"categories": [
"text"
],
"minValue": null,
"maxValue": null,
"isMonotonicallyIncreasing": null,
"isMonotonicallyDecreasing": null,
"isUnique": null,
"isCyclic": null,
"isHeterogeneousIdentifier": null,
"compositeScopeConceptId": null,
"isUniformDistribution": null,
"locationType": "latitude",
"coordinateFormat": "dd",
"coordinateDatum": "wgs84",
"coordinatePairConceptId": null,
"locationDetectionSource": "values",
"latitudeInRangeFraction": null,
"longitudeInRangeFraction": null,
"fractionalPartFraction": null,
"coordinatePairFraction": null,
"dmsCoordinateFraction": null,
"postalCodeFraction": null,
"addressShapeFraction": null,
"enrichments": {
"ANY_ADDITIONAL_PROPERTY": {
"status": "running",
"kind": "forward",
"enrichedAt": null,
"enricherVersion": null,
"dataVersion": null,
"version": null,
"sidecarKey": null,
"keyFields": [
"text"
],
"hintFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"corroborationFields": [
"text"
],
"latLonPrecision": null,
"distinctTotal": null,
"matchedCount": null,
"unmatchedCount": null,
"truncated": null,
"error": null,
"appliedDatum": null
}
},
"geoEnrichmentStatus": "running",
"geoEnrichmentKind": "forward",
"geoEnrichedAt": null,
"geoEnrichmentVersion": null,
"geoSidecarKey": null,
"geoDistinctTotal": null,
"geoMatchedCount": null,
"geoUnmatchedCount": null,
"geoTruncated": null,
"geoEnrichmentError": null,
"nanFillStrategy": "forward",
"changeRate": null,
"dateTimeFormat": null,
"displayFormat": null,
"averageInterval": null,
"isConsistentInterval": null,
"unit": null,
"unitModifier": null,
"higherIsBetter": null,
"isEqualInterval": null,
"intervalSize": null,
"valueClass": "continuous",
"fracZero": null,
"zeroRunLengthP95": null,
"nonZeroRunLengthP95": null,
"trendSlopePerSecond": null,
"trendR2": null,
"emailFraction": null,
"medianLength": null,
"distinctLengthCount": 1,
"tsGranularity": null,
"tsValidGranularities": [
"text"
],
"tsTypicalDeltaSeconds": null,
"tsSelectedGrid": null,
"tsGapProfile": {
"expectedIntervalSeconds": null,
"p50GapSeconds": null,
"p95GapSeconds": null,
"p99GapSeconds": null,
"maxGapSeconds": null,
"gapCount": null,
"largestGapStart": null
},
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsPerEnvProfiles": {
"ANY_ADDITIONAL_PROPERTY": {
"envKey": "text",
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"trendSlopePerSecond": null,
"trendR2": null,
"tsTypicalDeltaSeconds": null
}
},
"tsAnalyzerVersion": null,
"tsAnalyzedAt": null,
"elementSchemaType": "None",
"elementCategories": [
"text"
],
"sizeStatistics": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"fieldMappings": [
{
"sourceId": "text",
"field": "text",
"status": "confirmed",
"source": "ingest",
"confidence": null,
"evidence": null,
"valueMap": [
[]
],
"canonicalField": null,
"scopeFields": [
"text"
],
"precedence": null,
"keyRole": "primary",
"conformance": {
"rowsScanned": 1,
"nullRate": 1,
"allowedValueCoverage": null,
"unresolvedValues": [
{
"value": "text",
"count": 1
}
],
"inferredGranularity": null,
"granularityMatch": null,
"duplicateAnchorKeys": null,
"unitNote": null,
"verdict": "pass"
},
"decidedBy": null,
"decidedAt": null
}
],
"derivedInfo": {
"formula": null,
"formulaBlocks": {
"nodeId": "text",
"kind": "text",
"blockType": "text",
"values": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"derivedType": "manual",
"kind": "op",
"source": "user",
"sourceColumns": [
"text"
],
"expression": null,
"r2": null,
"isDeterministic": null,
"lag": null,
"cumulativeDirection": null,
"sourceDataViewId": null,
"operationLineage": {
"opType": "SQL_QUERY",
"opId": "text",
"parentColumns": [
"text"
],
"parentConceptIds": [
"text"
]
},
"viewSnapshot": {
"sources": [
{
"id": "text",
"type": "text",
"name": null,
"conceptIds": [
"text"
],
"conceptVersions": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"version": {
"kind": "text"
}
}
],
"operations": "[Circular Reference]",
"outputColumn": "text"
},
"lineageHash": null,
"sourceJoinConfig": {
"joinType": "left",
"strategy": null
}
},
"conceptKind": "standard",
"metricSql": null,
"relationshipRules": [
{
"ruleType": "conditional_values",
"sourceVariable": "text",
"condition": {
"variable": "text",
"operator": "eq",
"value": 1
},
"allowedValues": [
"text"
],
"minValue": null,
"maxValue": null,
"confidence": 1,
"support": 0,
"strength": "hard",
"violationRate": null,
"source": null,
"cycle": null
}
],
"temporalPrerequisites": [
"text"
],
"suggestedRole": "source",
"trustTier": "exploratory",
"ontologyRef": {
"ontologyId": "text",
"ontologyVersion": "text",
"canonicalId": "text",
"installScope": {
"conceptCanonicalIds": [
"text"
],
"filters": [
{
"conceptRef": "text",
"values": [
"text"
],
"start": null,
"end": null
}
]
}
},
"layerIds": [
"text"
],
"tags": [
"text"
],
"valueMappings": [
{
"canonicalValue": "text",
"aliases": [
"text"
]
}
],
"lockedConceptFields": [
"text"
],
"detectedConceptStructure": {
"temporalPrerequisites": [
"text"
],
"suggestedRole": "source"
},
"lastEditedBy": null,
"lastEditedAt": null,
"lineageDrift": null,
"editVersion": 0,
"createdAt": "text",
"updatedAt": "text"
}
}Replaces the concept with the provided fields. Platform loads the existing concept, merges the body, preserves the persisted editVersion when omitted, then proxies to data-service POST /api/ontology/update-concept so downstream consumers (e.g. catalog, data-service) stay in sync. Body should include _id and any fields to update.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123Path parameter: id
123system[]standardPossible values: [][]0Successful response
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Too Many Requests; the response carries Retry-After
Internal Server Error
PUT /api/v1/workspaces/{wsId}/ontology/concepts/{id} HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 9626
{
"_id": "text",
"ownerId": "system",
"organisationId": "text",
"workspaceId": "text",
"name": "text",
"description": null,
"conceptClassification": "identifier",
"anchorConceptLinks": [
"text"
],
"schemaFieldName": "text",
"schemaType": "None",
"schemaSubtype": "Integer",
"metadata": {
"categories": [
"text"
],
"minValue": null,
"maxValue": null,
"isMonotonicallyIncreasing": null,
"isMonotonicallyDecreasing": null,
"isUnique": null,
"isCyclic": null,
"isHeterogeneousIdentifier": null,
"compositeScopeConceptId": null,
"isUniformDistribution": null,
"locationType": "latitude",
"coordinateFormat": "dd",
"coordinateDatum": "wgs84",
"coordinatePairConceptId": null,
"locationDetectionSource": "values",
"latitudeInRangeFraction": null,
"longitudeInRangeFraction": null,
"fractionalPartFraction": null,
"coordinatePairFraction": null,
"dmsCoordinateFraction": null,
"postalCodeFraction": null,
"addressShapeFraction": null,
"enrichments": {
"ANY_ADDITIONAL_PROPERTY": {
"status": "running",
"kind": "forward",
"enrichedAt": null,
"enricherVersion": null,
"dataVersion": null,
"version": null,
"sidecarKey": null,
"keyFields": [
"text"
],
"hintFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"corroborationFields": [
"text"
],
"latLonPrecision": null,
"distinctTotal": null,
"matchedCount": null,
"unmatchedCount": null,
"truncated": null,
"error": null,
"appliedDatum": null
}
},
"geoEnrichmentStatus": "running",
"geoEnrichmentKind": "forward",
"geoEnrichedAt": null,
"geoEnrichmentVersion": null,
"geoSidecarKey": null,
"geoDistinctTotal": null,
"geoMatchedCount": null,
"geoUnmatchedCount": null,
"geoTruncated": null,
"geoEnrichmentError": null,
"nanFillStrategy": "forward",
"changeRate": null,
"dateTimeFormat": null,
"displayFormat": null,
"averageInterval": null,
"isConsistentInterval": null,
"unit": null,
"unitModifier": null,
"higherIsBetter": null,
"isEqualInterval": null,
"intervalSize": null,
"valueClass": "continuous",
"fracZero": null,
"zeroRunLengthP95": null,
"nonZeroRunLengthP95": null,
"trendSlopePerSecond": null,
"trendR2": null,
"emailFraction": null,
"medianLength": null,
"distinctLengthCount": 1,
"tsGranularity": null,
"tsValidGranularities": [
"text"
],
"tsTypicalDeltaSeconds": null,
"tsSelectedGrid": null,
"tsGapProfile": {
"expectedIntervalSeconds": null,
"p50GapSeconds": null,
"p95GapSeconds": null,
"p99GapSeconds": null,
"maxGapSeconds": null,
"gapCount": null,
"largestGapStart": null
},
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsPerEnvProfiles": {
"ANY_ADDITIONAL_PROPERTY": {
"envKey": "text",
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"trendSlopePerSecond": null,
"trendR2": null,
"tsTypicalDeltaSeconds": null
}
},
"tsAnalyzerVersion": null,
"tsAnalyzedAt": null,
"elementSchemaType": "None",
"elementCategories": [
"text"
],
"sizeStatistics": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"lockedMetadataFields": [
"text"
],
"detectedMetadata": {
"categories": [
"text"
],
"minValue": null,
"maxValue": null,
"isMonotonicallyIncreasing": null,
"isMonotonicallyDecreasing": null,
"isUnique": null,
"isCyclic": null,
"isHeterogeneousIdentifier": null,
"compositeScopeConceptId": null,
"isUniformDistribution": null,
"locationType": "latitude",
"coordinateFormat": "dd",
"coordinateDatum": "wgs84",
"coordinatePairConceptId": null,
"locationDetectionSource": "values",
"latitudeInRangeFraction": null,
"longitudeInRangeFraction": null,
"fractionalPartFraction": null,
"coordinatePairFraction": null,
"dmsCoordinateFraction": null,
"postalCodeFraction": null,
"addressShapeFraction": null,
"enrichments": {
"ANY_ADDITIONAL_PROPERTY": {
"status": "running",
"kind": "forward",
"enrichedAt": null,
"enricherVersion": null,
"dataVersion": null,
"version": null,
"sidecarKey": null,
"keyFields": [
"text"
],
"hintFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"corroborationFields": [
"text"
],
"latLonPrecision": null,
"distinctTotal": null,
"matchedCount": null,
"unmatchedCount": null,
"truncated": null,
"error": null,
"appliedDatum": null
}
},
"geoEnrichmentStatus": "running",
"geoEnrichmentKind": "forward",
"geoEnrichedAt": null,
"geoEnrichmentVersion": null,
"geoSidecarKey": null,
"geoDistinctTotal": null,
"geoMatchedCount": null,
"geoUnmatchedCount": null,
"geoTruncated": null,
"geoEnrichmentError": null,
"nanFillStrategy": "forward",
"changeRate": null,
"dateTimeFormat": null,
"displayFormat": null,
"averageInterval": null,
"isConsistentInterval": null,
"unit": null,
"unitModifier": null,
"higherIsBetter": null,
"isEqualInterval": null,
"intervalSize": null,
"valueClass": "continuous",
"fracZero": null,
"zeroRunLengthP95": null,
"nonZeroRunLengthP95": null,
"trendSlopePerSecond": null,
"trendR2": null,
"emailFraction": null,
"medianLength": null,
"distinctLengthCount": 1,
"tsGranularity": null,
"tsValidGranularities": [
"text"
],
"tsTypicalDeltaSeconds": null,
"tsSelectedGrid": null,
"tsGapProfile": {
"expectedIntervalSeconds": null,
"p50GapSeconds": null,
"p95GapSeconds": null,
"p99GapSeconds": null,
"maxGapSeconds": null,
"gapCount": null,
"largestGapStart": null
},
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsPerEnvProfiles": {
"ANY_ADDITIONAL_PROPERTY": {
"envKey": "text",
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"trendSlopePerSecond": null,
"trendR2": null,
"tsTypicalDeltaSeconds": null
}
},
"tsAnalyzerVersion": null,
"tsAnalyzedAt": null,
"elementSchemaType": "None",
"elementCategories": [
"text"
],
"sizeStatistics": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"derivedInfo": {
"formula": null,
"formulaBlocks": {
"nodeId": "text",
"kind": "text",
"blockType": "text",
"values": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"derivedType": "manual",
"kind": "op",
"source": "user",
"sourceColumns": [
"text"
],
"expression": null,
"r2": null,
"isDeterministic": null,
"lag": null,
"cumulativeDirection": null,
"sourceDataViewId": null,
"operationLineage": {
"opType": "SQL_QUERY",
"opId": "text",
"parentColumns": [
"text"
],
"parentConceptIds": [
"text"
]
},
"viewSnapshot": {
"sources": [
{
"id": "text",
"type": "text",
"name": null,
"conceptIds": [
"text"
],
"conceptVersions": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"version": {
"kind": "text"
}
}
],
"operations": [
"[Circular Reference]"
],
"outputColumn": "text"
},
"lineageHash": null,
"sourceJoinConfig": {
"joinType": "left",
"strategy": null
}
},
"conceptKind": "standard",
"metricSql": null,
"relationshipRules": [
{
"ruleType": "conditional_values",
"sourceVariable": "text",
"condition": {
"variable": "text",
"operator": "eq",
"value": 1
},
"allowedValues": [
"text"
],
"minValue": null,
"maxValue": null,
"confidence": 1,
"support": 0,
"strength": "hard",
"violationRate": null,
"source": null,
"cycle": null
}
],
"temporalPrerequisites": [
"text"
],
"suggestedRole": "source",
"trustTier": "exploratory",
"ontologyRef": {
"ontologyId": "text",
"ontologyVersion": "text",
"canonicalId": "text",
"installScope": {
"conceptCanonicalIds": [
"text"
],
"filters": [
{
"conceptRef": "text",
"values": [
"text"
],
"start": null,
"end": null
}
]
}
},
"layerIds": [
"text"
],
"tags": [
"text"
],
"valueMappings": [
{
"canonicalValue": "text",
"aliases": [
"text"
]
}
],
"lockedConceptFields": [
"text"
],
"detectedConceptStructure": {
"temporalPrerequisites": [
"text"
],
"suggestedRole": "source"
},
"lastEditedBy": null,
"lastEditedAt": null,
"lineageDrift": null,
"editVersion": 0,
"createdAt": "text",
"updatedAt": "text",
"fieldMappings": [
{
"field": "text",
"status": "confirmed",
"source": "ingest",
"confidence": null,
"evidence": null,
"valueMap": [
[]
],
"canonicalField": null,
"scopeFields": [
"text"
],
"precedence": null,
"keyRole": "primary",
"conformance": {
"rowsScanned": 1,
"nullRate": 1,
"allowedValueCoverage": null,
"unresolvedValues": [
{
"value": "text",
"count": 1
}
],
"inferredGranularity": null,
"granularityMatch": null,
"duplicateAnchorKeys": null,
"unitNote": null,
"verdict": "pass"
},
"decidedBy": null,
"decidedAt": null,
"sourceId": "text"
}
]
}{
"data": {
"id": "text",
"organisationId": "text",
"workspaceId": "text",
"name": "text",
"description": null,
"conceptClassification": "identifier",
"anchorConceptLinks": [
"text"
],
"schemaFieldName": "text",
"schemaType": "None",
"schemaSubtype": "Integer",
"metadata": {
"categories": [
"text"
],
"minValue": null,
"maxValue": null,
"isMonotonicallyIncreasing": null,
"isMonotonicallyDecreasing": null,
"isUnique": null,
"isCyclic": null,
"isHeterogeneousIdentifier": null,
"compositeScopeConceptId": null,
"isUniformDistribution": null,
"locationType": "latitude",
"coordinateFormat": "dd",
"coordinateDatum": "wgs84",
"coordinatePairConceptId": null,
"locationDetectionSource": "values",
"latitudeInRangeFraction": null,
"longitudeInRangeFraction": null,
"fractionalPartFraction": null,
"coordinatePairFraction": null,
"dmsCoordinateFraction": null,
"postalCodeFraction": null,
"addressShapeFraction": null,
"enrichments": {
"ANY_ADDITIONAL_PROPERTY": {
"status": "running",
"kind": "forward",
"enrichedAt": null,
"enricherVersion": null,
"dataVersion": null,
"version": null,
"sidecarKey": null,
"keyFields": [
"text"
],
"hintFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"corroborationFields": [
"text"
],
"latLonPrecision": null,
"distinctTotal": null,
"matchedCount": null,
"unmatchedCount": null,
"truncated": null,
"error": null,
"appliedDatum": null
}
},
"geoEnrichmentStatus": "running",
"geoEnrichmentKind": "forward",
"geoEnrichedAt": null,
"geoEnrichmentVersion": null,
"geoSidecarKey": null,
"geoDistinctTotal": null,
"geoMatchedCount": null,
"geoUnmatchedCount": null,
"geoTruncated": null,
"geoEnrichmentError": null,
"nanFillStrategy": "forward",
"changeRate": null,
"dateTimeFormat": null,
"displayFormat": null,
"averageInterval": null,
"isConsistentInterval": null,
"unit": null,
"unitModifier": null,
"higherIsBetter": null,
"isEqualInterval": null,
"intervalSize": null,
"valueClass": "continuous",
"fracZero": null,
"zeroRunLengthP95": null,
"nonZeroRunLengthP95": null,
"trendSlopePerSecond": null,
"trendR2": null,
"emailFraction": null,
"medianLength": null,
"distinctLengthCount": 1,
"tsGranularity": null,
"tsValidGranularities": [
"text"
],
"tsTypicalDeltaSeconds": null,
"tsSelectedGrid": null,
"tsGapProfile": {
"expectedIntervalSeconds": null,
"p50GapSeconds": null,
"p95GapSeconds": null,
"p99GapSeconds": null,
"maxGapSeconds": null,
"gapCount": null,
"largestGapStart": null
},
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsPerEnvProfiles": {
"ANY_ADDITIONAL_PROPERTY": {
"envKey": "text",
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"trendSlopePerSecond": null,
"trendR2": null,
"tsTypicalDeltaSeconds": null
}
},
"tsAnalyzerVersion": null,
"tsAnalyzedAt": null,
"elementSchemaType": "None",
"elementCategories": [
"text"
],
"sizeStatistics": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"lockedMetadataFields": [
"text"
],
"detectedMetadata": {
"categories": [
"text"
],
"minValue": null,
"maxValue": null,
"isMonotonicallyIncreasing": null,
"isMonotonicallyDecreasing": null,
"isUnique": null,
"isCyclic": null,
"isHeterogeneousIdentifier": null,
"compositeScopeConceptId": null,
"isUniformDistribution": null,
"locationType": "latitude",
"coordinateFormat": "dd",
"coordinateDatum": "wgs84",
"coordinatePairConceptId": null,
"locationDetectionSource": "values",
"latitudeInRangeFraction": null,
"longitudeInRangeFraction": null,
"fractionalPartFraction": null,
"coordinatePairFraction": null,
"dmsCoordinateFraction": null,
"postalCodeFraction": null,
"addressShapeFraction": null,
"enrichments": {
"ANY_ADDITIONAL_PROPERTY": {
"status": "running",
"kind": "forward",
"enrichedAt": null,
"enricherVersion": null,
"dataVersion": null,
"version": null,
"sidecarKey": null,
"keyFields": [
"text"
],
"hintFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"corroborationFields": [
"text"
],
"latLonPrecision": null,
"distinctTotal": null,
"matchedCount": null,
"unmatchedCount": null,
"truncated": null,
"error": null,
"appliedDatum": null
}
},
"geoEnrichmentStatus": "running",
"geoEnrichmentKind": "forward",
"geoEnrichedAt": null,
"geoEnrichmentVersion": null,
"geoSidecarKey": null,
"geoDistinctTotal": null,
"geoMatchedCount": null,
"geoUnmatchedCount": null,
"geoTruncated": null,
"geoEnrichmentError": null,
"nanFillStrategy": "forward",
"changeRate": null,
"dateTimeFormat": null,
"displayFormat": null,
"averageInterval": null,
"isConsistentInterval": null,
"unit": null,
"unitModifier": null,
"higherIsBetter": null,
"isEqualInterval": null,
"intervalSize": null,
"valueClass": "continuous",
"fracZero": null,
"zeroRunLengthP95": null,
"nonZeroRunLengthP95": null,
"trendSlopePerSecond": null,
"trendR2": null,
"emailFraction": null,
"medianLength": null,
"distinctLengthCount": 1,
"tsGranularity": null,
"tsValidGranularities": [
"text"
],
"tsTypicalDeltaSeconds": null,
"tsSelectedGrid": null,
"tsGapProfile": {
"expectedIntervalSeconds": null,
"p50GapSeconds": null,
"p95GapSeconds": null,
"p99GapSeconds": null,
"maxGapSeconds": null,
"gapCount": null,
"largestGapStart": null
},
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsPerEnvProfiles": {
"ANY_ADDITIONAL_PROPERTY": {
"envKey": "text",
"tsSeasonalPeriods": [
{
"periodSeconds": 1,
"cycleLabel": null,
"strength": 1,
"confidence": 1,
"amplitude": null,
"phase": null,
"order": 1
}
],
"tsCategoricalSeasonality": [
{
"periodSeconds": 1,
"cycleLabel": null,
"nPhaseBins": 1,
"cramersV": 1,
"chi2PerDof": null,
"phaseDistribution": [
[
1
]
],
"levels": [
"text"
]
}
],
"tsMissingPatterns": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"tsActiveWindows": [
{
"cycle": "hour_of_day",
"activeIndices": [
1
],
"inactiveIndices": [
1
],
"densityByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"aggByIndex": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"trendSlopePerSecond": null,
"trendR2": null,
"tsTypicalDeltaSeconds": null
}
},
"tsAnalyzerVersion": null,
"tsAnalyzedAt": null,
"elementSchemaType": "None",
"elementCategories": [
"text"
],
"sizeStatistics": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"fieldMappings": [
{
"sourceId": "text",
"field": "text",
"status": "confirmed",
"source": "ingest",
"confidence": null,
"evidence": null,
"valueMap": [
[]
],
"canonicalField": null,
"scopeFields": [
"text"
],
"precedence": null,
"keyRole": "primary",
"conformance": {
"rowsScanned": 1,
"nullRate": 1,
"allowedValueCoverage": null,
"unresolvedValues": [
{
"value": "text",
"count": 1
}
],
"inferredGranularity": null,
"granularityMatch": null,
"duplicateAnchorKeys": null,
"unitNote": null,
"verdict": "pass"
},
"decidedBy": null,
"decidedAt": null
}
],
"derivedInfo": {
"formula": null,
"formulaBlocks": {
"nodeId": "text",
"kind": "text",
"blockType": "text",
"values": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"derivedType": "manual",
"kind": "op",
"source": "user",
"sourceColumns": [
"text"
],
"expression": null,
"r2": null,
"isDeterministic": null,
"lag": null,
"cumulativeDirection": null,
"sourceDataViewId": null,
"operationLineage": {
"opType": "SQL_QUERY",
"opId": "text",
"parentColumns": [
"text"
],
"parentConceptIds": [
"text"
]
},
"viewSnapshot": {
"sources": [
{
"id": "text",
"type": "text",
"name": null,
"conceptIds": [
"text"
],
"conceptVersions": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"version": {
"kind": "text"
}
}
],
"operations": "[Circular Reference]",
"outputColumn": "text"
},
"lineageHash": null,
"sourceJoinConfig": {
"joinType": "left",
"strategy": null
}
},
"conceptKind": "standard",
"metricSql": null,
"relationshipRules": [
{
"ruleType": "conditional_values",
"sourceVariable": "text",
"condition": {
"variable": "text",
"operator": "eq",
"value": 1
},
"allowedValues": [
"text"
],
"minValue": null,
"maxValue": null,
"confidence": 1,
"support": 0,
"strength": "hard",
"violationRate": null,
"source": null,
"cycle": null
}
],
"temporalPrerequisites": [
"text"
],
"suggestedRole": "source",
"trustTier": "exploratory",
"ontologyRef": {
"ontologyId": "text",
"ontologyVersion": "text",
"canonicalId": "text",
"installScope": {
"conceptCanonicalIds": [
"text"
],
"filters": [
{
"conceptRef": "text",
"values": [
"text"
],
"start": null,
"end": null
}
]
}
},
"layerIds": [
"text"
],
"tags": [
"text"
],
"valueMappings": [
{
"canonicalValue": "text",
"aliases": [
"text"
]
}
],
"lockedConceptFields": [
"text"
],
"detectedConceptStructure": {
"temporalPrerequisites": [
"text"
],
"suggestedRole": "source"
},
"lastEditedBy": null,
"lastEditedAt": null,
"lineageDrift": null,
"editVersion": 0,
"createdAt": "text",
"updatedAt": "text"
}
}Deletes the concept from platform MongoDB only (deleteManyOntologyConcepts). Does not call data-service; any data-service copy or derived indices are not updated by this route.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123Path parameter: id
123No Content
No content
Unauthorized
Forbidden
Not Found
Too Many Requests; the response carries Retry-After
Internal Server Error
DELETE /api/v1/workspaces/{wsId}/ontology/concepts/{id} HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Merges one or more source concepts into a single target concept in one atomic request. Body: targetConceptId, sourceConceptIds (string array); sourceConceptId (string) is a deprecated legacy single-merge field coalesced into sourceConceptIds. Proxies to data-service POST /api/ontology/merge-concepts. Field mappings and relationships from every source are consolidated into the target; the sources are deleted. The whole batch is rejected atomically if any source is missing or fails merge validation. Returns the merged concept.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123Successful response
Payload not declared in this repo
Bad Request
Unauthorized
Forbidden
Unprocessable Entity
Too Many Requests; the response carries Retry-After
Internal Server Error
POST /api/v1/workspaces/{wsId}/ontology/concepts/merge HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 79
{
"sourceConceptId": "text",
"sourceConceptIds": [
"text"
],
"targetConceptId": "text"
}{
"data": "text"
}Searches concepts by text and filters. Query params: query (text), schemaType, classification, sourceId, limit (default 50). Proxies to data-service GET /api/ontology/search/{workspaceId}. Use for typeahead or filtered concept pickers.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123Search text matched against concept names.
exampleMaximum number of concepts to return.
1Restrict to concepts mapped to this source.
123Filter by concept classification.
exampleFilter by concept schema type.
exampleSuccessful response
Payload not declared in this repo
Unauthorized
Forbidden
Too Many Requests; the response carries Retry-After
Internal Server Error
GET /api/v1/workspaces/{wsId}/ontology/concepts/search?query=text HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": "text"
}Returns the concept's id, name, and fieldMappings (source/table and field links). Read from platform MongoDB; no proxy. fieldMappings link this concept to columns in workspace sources.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123Path parameter: id
123Successful response
Payload not declared in this repo
Unauthorized
Forbidden
Not Found
Too Many Requests; the response carries Retry-After
Internal Server Error
GET /api/v1/workspaces/{wsId}/ontology/concepts/{id}/mappings HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": "text"
}Returns the concept's id, name, anchorConceptLinks, and temporalPrerequisites. Read from platform MongoDB. anchorConceptLinks are concept ids this concept is anchored to; temporalPrerequisites are concept ids that must precede this one in time.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123Path parameter: id
123Successful response
Payload not declared in this repo
Unauthorized
Forbidden
Not Found
Too Many Requests; the response carries Retry-After
Internal Server Error
GET /api/v1/workspaces/{wsId}/ontology/concepts/{id}/relationships HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": "text"
}Splits one concept by moving a single field mapping to a new concept. Body: fieldMapping (the mapping to split out). Proxies to data-service POST /api/ontology/split-concept with conceptId and fieldMapping. Returns the result from data-service (e.g. new concept and updated original).
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123Path parameter: id
123Successful response
Payload not declared in this repo
Bad Request
Unauthorized
Forbidden
Not Found
Unprocessable Entity
Too Many Requests; the response carries Retry-After
Internal Server Error
POST /api/v1/workspaces/{wsId}/ontology/concepts/{id}/split HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 508
{
"fieldMapping": {
"datasetId": "text",
"field": "text",
"status": "confirmed",
"source": "ingest",
"confidence": null,
"evidence": null,
"valueMap": [
[]
],
"canonicalField": null,
"scopeFields": [
"text"
],
"precedence": null,
"keyRole": "primary",
"conformance": {
"rowsScanned": 1,
"nullRate": 1,
"allowedValueCoverage": null,
"unresolvedValues": [
{
"value": "text",
"count": 1
}
],
"inferredGranularity": null,
"granularityMatch": null,
"duplicateAnchorKeys": null,
"unitNote": null,
"verdict": "pass"
},
"decidedBy": null,
"decidedAt": null,
"sourceId": "text"
}
}{
"data": "text"
}Last updated

