Related queries and mutations in Catalog and lineage. Each has its own section.
Queries
getTableDescriptions (query)
getTableDescriptions is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get the use-case table description for a list of tables by MCON, in one call. Returns one entry per requested MCON that has a stored description; MCONs without a UseCaseTable row or description are omitted. MCONs are globally unique, so no warehouse is needed.
Arguments
| Argument | Type | Description |
|---|---|---|
mcons | [String!]! | List of table MCONs to look up |
Returns
[TableDescription!]
Example
query GetTableDescriptions($mcons: [String!]!) {
getTableDescriptions(mcons: $mcons) {
mcon
tableDescription
}
}Types used only by getTableDescriptions
getTableDescriptionsTableDescription
TableDescriptionObject type. A table's LLM-generated use-case description, keyed by MCON.
| Field | Type | Description |
|---|---|---|
mcon | String! | Unique table identifier (MCON) |
tableDescription | String! | LLM-generated description of the table |
getTableUseCases (query)
getTableUseCases is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get use case memberships for a list of tables by MCON
Arguments
| Argument | Type | Description |
|---|---|---|
mcons | [String!]! | List of table MCONs to look up |
warehouseId | UUID! | The warehouse UUID |
includeDeletedAssets | Boolean | When true, returns memberships for tables that have been soft-deleted in the warehouse, and returns memberships even if the warehouse itself has been soft-deleted. When false (default), soft-deleted tables and memberships for a soft-deleted warehouse are excluded — every input mcon is still returned with an empty memberships list. Default: false. |
Returns
[TableUseCasesResult!]
Example
query GetTableUseCases($mcons: [String!]!, $warehouseId: UUID!) {
getTableUseCases(mcons: $mcons, warehouseId: $warehouseId) {
mcon
}
}Types used only by getTableUseCases
getTableUseCasesTableUseCasesResult
TableUseCasesResultObject type. Use case memberships for a single table MCON.
| Field | Type | Description |
|---|---|---|
mcon | String! | Unique table identifier (MCON) |
memberships | [TableUseCaseMembership!]! | Use case memberships for this table |
Related types
getUseCases (query)
getUseCases is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get all use cases for a warehouse
Arguments
| Argument | Type | Description |
|---|---|---|
warehouseId | UUID! | The warehouse UUID |
first | Int! | Number of items to return (page size) |
domainId | UUID | Filter to use cases with at least one tagged asset in this domain. Must be one of the domains the user has access to. When omitted, the user's domain restrictions (if any) are applied automatically. |
includeDeletedAssets | Boolean | When true, returns use cases even if the requested warehouse has been soft-deleted. When false (default), returns no use cases for a soft-deleted warehouse. Default: false. |
before | String | |
after | String | |
last | Int |
Returns
UseCaseConnection
Example
query GetUseCases($warehouseId: UUID!, $first: Int!) {
getUseCases(warehouseId: $warehouseId, first: $first) {
totalCount
}
}Types used only by getUseCases
getUseCasesUseCaseConnection
UseCaseConnectionObject type. Paginated list of use cases.
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | Pagination data for this connection. |
edges | [UseCaseEdge]! | Contains the nodes in this connection. |
totalCount | Int | Total number of use cases matching the query |
UseCaseEdge
UseCaseEdgeObject type. A Relay edge containing a UseCase and its cursor.
| Field | Type | Description |
|---|---|---|
node | UseCaseOutput | The item at the end of the edge |
cursor | String! | A cursor for use in pagination |
UseCaseOutput
UseCaseOutputObject type. A business use case scoped to a warehouse.
| Field | Type | Description |
|---|---|---|
id | UUID! | Stable use case identifier |
name | String! | Human-readable use case name |
description | String | Use case description |
criticality | Criticality | Business-level criticality |
tableCount | Int! | Total number of tables assigned to this use case |
tagKey | String! | Tag identifier for this use case, used as the ObjectPropertyModel.property_name on tagged tables (e.g. 'use-case-revenue_reporting-ab12cd'). |
Related types
getUseCaseTableDetails (query)
getUseCaseTableDetails is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Search UseCaseTable rows for a warehouse. Optionally look up by mcon, or rank results by semantic similarity — either to a natural-language query or to another mcon's stored embedding. At most one of mcon, tableDescriptionQuery, or similarToMcon may be supplied.
Arguments
| Argument | Type | Description |
|---|---|---|
warehouseId | UUID! | The warehouse UUID |
first | Int! | Number of items to return (page size) |
mcon | String | When set, return only the row for this mcon. |
tableDescriptionQuery | String | When set, rank results by semantic similarity of this query against each table's description embedding. Rows without a stored embedding are excluded. |
similarToMcon | String | When set, find tables similar to this mcon — uses its stored embedding as the query vector and ranks the rest of the warehouse by cosine similarity. The seed mcon itself is excluded from the results. |
before | String | |
after | String | |
last | Int |
Returns
UseCaseTableDetailConnection
Example
query GetUseCaseTableDetails($warehouseId: UUID!, $first: Int!) {
getUseCaseTableDetails(warehouseId: $warehouseId, first: $first) {
totalCount
}
}Types used only by getUseCaseTableDetails
getUseCaseTableDetailsUseCaseTableDetail
UseCaseTableDetailObject type. A warehouse table tracked for use-case criticality scoring.
Backed by UseCaseTableModel. Distinct from UseCaseTableOutput, which wraps
ObjectPropertyModel tags for the getUseCaseTables query.
| Field | Type | Description |
|---|---|---|
id | UUID! | Stable UseCaseTable identifier |
mcon | String! | Unique table identifier (MCON) |
tableDescription | String | LLM-generated description of the table |
isGolden | Boolean! | Whether this table is classified as a golden-layer table |
similarityScore | Float | Cosine similarity to the semantic-search query (1.0 = identical direction, 0.0 = orthogonal). Null when no semantic search was performed. |
useCases | [TableUseCaseMembership!]! | Use case memberships for this table. |
UseCaseTableDetailConnection
UseCaseTableDetailConnectionObject type. Paginated list of use case table details.
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | Pagination data for this connection. |
edges | [UseCaseTableDetailEdge]! | Contains the nodes in this connection. |
totalCount | Int | Total number of tables matching the query |
UseCaseTableDetailEdge
UseCaseTableDetailEdgeObject type. A Relay edge containing a UseCaseTableDetail and its cursor.
| Field | Type | Description |
|---|---|---|
node | UseCaseTableDetail | The item at the end of the edge |
cursor | String! | A cursor for use in pagination |
Related types
PageInfo, TableUseCaseMembership, UUID
getUseCaseTables (query)
getUseCaseTables is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get all tables associated with a use case. Tables are ordered with golden tables first, then by criticality (HIGH → MEDIUM → LOW → other), then by mcon ascending — so the highest-priority tables are seen first when paginating.
Arguments
| Argument | Type | Description |
|---|---|---|
warehouseId | UUID! | The warehouse UUID |
useCaseName | String! | The use case name |
first | Int! | Number of items to return (page size) |
goldenTablesOnly | Boolean | When true, only golden tables are returned. When false, both golden and non-golden tables are returned. Omitting the argument or passing null is equivalent to true. Default: true. |
criticality | Criticality | When set, only return tables with this criticality level. |
domainId | UUID | Filter to tables in this domain. Must be one of the domains the user has access to. When omitted, the user's domain restrictions (if any) are applied automatically. |
includeDeletedAssets | Boolean | When true, includes tables that have been soft-deleted in the warehouse, and returns data even if the warehouse itself has been soft-deleted. When false (default), soft-deleted tables and tables in a soft-deleted warehouse are excluded. Default: false. |
before | String | |
after | String | |
last | Int |
Returns
UseCaseTableConnection
Example
query GetUseCaseTables($warehouseId: UUID!, $useCaseName: String!, $first: Int!) {
getUseCaseTables(warehouseId: $warehouseId, useCaseName: $useCaseName, first: $first) {
totalCount
}
}Types used only by getUseCaseTables
getUseCaseTablesUseCaseTableConnection
UseCaseTableConnectionObject type. Paginated list of use case tables.
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | Pagination data for this connection. |
edges | [UseCaseTableEdge]! | Contains the nodes in this connection. |
totalCount | Int | Total number of tables matching the query |
UseCaseTableEdge
UseCaseTableEdgeObject type. A Relay edge containing a UseCaseTable and its cursor.
| Field | Type | Description |
|---|---|---|
node | UseCaseTableOutput | The item at the end of the edge |
cursor | String! | A cursor for use in pagination |
UseCaseTableOutput
UseCaseTableOutputObject type. A table associated with a use case.
| Field | Type | Description |
|---|---|---|
mcon | String! | Unique table identifier (MCON) |
criticality | Criticality! | Table criticality |
reasoning | String | Explanation for the criticality assessment |
isGoldenTable | Boolean! | Whether this table is a golden table |
Related types
getUseCaseTableSummary (query)
getUseCaseTableSummary is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get table criticality counts for a use case
Arguments
| Argument | Type | Description |
|---|---|---|
warehouseId | UUID! | The warehouse UUID |
useCaseName | String! | The use case name |
domainId | UUID | Filter counts to tables in this domain. Must be one of the domains the user has access to. When omitted, the user's domain restrictions (if any) are applied automatically. |
includeDeletedAssets | Boolean | When true, counts tables that have been soft-deleted in the warehouse, and returns counts even if the warehouse itself has been soft-deleted. When false (default), soft-deleted tables and counts for a soft-deleted warehouse are excluded. Default: false. |
Returns
UseCaseTableSummaryOutput
Example
query GetUseCaseTableSummary($warehouseId: UUID!, $useCaseName: String!) {
getUseCaseTableSummary(warehouseId: $warehouseId, useCaseName: $useCaseName) {
totalTablesHigh
totalTablesMedium
totalTablesLow
}
}Types used only by getUseCaseTableSummary
getUseCaseTableSummaryUseCaseTableSummaryOutput
UseCaseTableSummaryOutputObject type. Counts of tables by criticality level for a use case.
| Field | Type | Description |
|---|---|---|
totalTablesHigh | Int! | Number of HIGH criticality tables |
totalTablesMedium | Int! | Number of MEDIUM criticality tables |
totalTablesLow | Int! | Number of LOW criticality tables |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
