{"openapi":"3.1.0","info":{"title":"SELECT API (v2)","version":"0.1.0"},"servers":[{"url":"https://api.select.dev/v2","description":"SELECT API v2"}],"paths":{"/audit-logs":{"get":{"tags":["audit-logs"],"summary":"Export audit logs","description":"Append-only, oldest-first stream of audit log records, designed for continuous polling (e.g. SIEM export). Records are immutable once written.\n\nThe audit log records every create, update, and delete on your SELECT resources, plus events like login and org membership changes — who changed what, and when. Each record is tied to either a `resource` (something in SELECT that changed) or an `event_type` (something that happened with no resource). \n\n| Name | Kind | What it is |\n| --- | --- | --- |\n| `actions` | resource | Cost-saving actions |\n| `api_keys` | resource | API keys |\n| `budgets` | resource | Budgets |\n| `connections` | resource | Data warehouse connections |\n| `dashboards` | resource | Dashboards |\n| `dashboard_digests` | resource | Scheduled dashboard digests |\n| `insights` | resource | Insights |\n| `monitors_v2` | resource | Monitors |\n| `saved_views` | resource | Saved views |\n| `snowflake_warehouses` | resource | Snowflake warehouse settings |\n| `teams` | resource | Teams |\n| `ticket_integrations` | resource | Ticketing tool integrations (Jira, etc.) |\n| `ticket_links` | resource | Links between SELECT items and external tickets |\n| `user_roles` | resource | User and role assignments |\n| `usage_group_sets` | resource | Usage group sets |\n| `session` | event | Login / logout |\n| `invitation` | event | Org invitation created / revoked |\n| `users` | event | User removed from the org |\n| `organization` | event | Organization-level settings: trial end date, app warehouse size, feature enablement, data share provisioning |\n\n## How to poll\n\nPage with `page_token`, and drain every poll until `page_token` is `null`:\n\n1. **First run** — call with no `page_token`. Optionally set `changed_at__gte` to a start date to skip old history.\n2. **Drain** — keep re-requesting with the `page_token` from the previous response until the response returns `page_token: null` (you are caught up).\n3. **Persist** the last non-null `page_token` you received.\n4. **Next poll** — resume from that stored `page_token`. It continues strictly after the last record you ingested, so every new record is delivered exactly once.\n\n> **Do not build your own cursor from `changed_at`.** Bulk operations can stamp thousands of records with the exact same `changed_at`. A client that computes its next request from `max(changed_at)` will re-receive duplicates and, if a single-timestamp cluster is larger than `max_results`, loop forever and never advance past it. Always page with `page_token`.\n\n`sort_order` defaults to `asc` (oldest-first) to preserve the SIEM drain-forward contract above; pass `desc` for newest-first. A `page_token` carries the `sort_order` it was minted with, so resuming with the other order is rejected rather than silently resuming in the wrong direction.","operationId":"list_audit_logs_audit_logs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","description":"Maximum number of records to return (1–500).","default":50,"title":"Max Results"},"description":"Maximum number of records to return (1–500)."},{"name":"sort_order","in":"query","required":false,"schema":{"enum":["asc","desc"],"type":"string","description":"`asc` (default, oldest-first) or `desc` (newest-first).","default":"asc","title":"Sort Order"},"description":"`asc` (default, oldest-first) or `desc` (newest-first)."},{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"changed_at__gte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Changed At  Gte"}},{"name":"changed_at__lte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Changed At  Lte"}},{"name":"changed_at__in_range","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Changed At  In Range"}},{"name":"table_name__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name  In"}},{"name":"event_type__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type  In"}},{"name":"changed_by__ilike","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Changed By  Ilike"}},{"name":"changed_by__not_ilike","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Changed By  Not Ilike"}},{"name":"changed_by__isnull","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Changed By  Isnull"}},{"name":"resource__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource  In"}},{"name":"resource__not_in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource  Not In"}},{"name":"operation__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation  In"}},{"name":"operation__not_in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation  Not In"}},{"name":"status__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status  In"}},{"name":"status__not_in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status  Not In"}},{"name":"id__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id  In"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_ExportAuditLog_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/insights/actions/query":{"post":{"tags":["insights"],"summary":"Query insights by dimension and measure","description":"Returns one row per combination of the requested dimensions, carrying the requested measures. Each row is keyed by dimension and measure name. `row_count` is the number of rows in `items`: results are not paginated, so an aggregation with more rows than `limit` is cut short at `limit` rather than continued under a `page_token`.","operationId":"query_insights_route_insights_actions_query_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightQuery"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_dict_str__Any__"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/insights":{"get":{"tags":["insights"],"summary":"List insights","operationId":"list_insights_insights_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sort_by","in":"query","required":false,"schema":{"enum":["create_time","update_time"],"type":"string","description":"Field to sort by. Defaults to `create_time` (newest-first).","default":"create_time","title":"Sort By"},"description":"Field to sort by. Defaults to `create_time` (newest-first)."},{"name":"sort_order","in":"query","required":false,"schema":{"enum":["asc","desc"],"type":"string","description":"`asc` or `desc` (default, newest-first).","default":"desc","title":"Sort Order"},"description":"`asc` or `desc` (default, newest-first)."},{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"status__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status  In"}},{"name":"assignee__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignee  In"}},{"name":"insight_type__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Insight Type  In"}},{"name":"is_current","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Current"}},{"name":"resource_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Type"}},{"name":"snowflake_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Id"}},{"name":"connection_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id"}},{"name":"first_viewed_by__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Viewed By  In"}},{"name":"last_viewed_by__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Viewed By  In"}},{"name":"view_count__gte","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"View Count  Gte"}},{"name":"view_count__lte","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"View Count  Lte"}},{"name":"first_viewed_at__gte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Viewed At  Gte"}},{"name":"first_viewed_at__lte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Viewed At  Lte"}},{"name":"last_viewed_at__gte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Viewed At  Gte"}},{"name":"last_viewed_at__lte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Viewed At  Lte"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_Insight_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/insights/{insight_id}":{"get":{"tags":["insights"],"summary":"Get an insight","operationId":"get_insight_route_insights__insight_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"insight_id","in":"path","required":true,"schema":{"type":"string","title":"Insight Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Insight"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["insights"],"summary":"Update an insight","operationId":"update_insight_route_insights__insight_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"insight_id","in":"path","required":true,"schema":{"type":"string","title":"Insight Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The insight's current ETag, from a prior read. Required: the update is rejected if the insight has changed since.","title":"If-Match"},"description":"The insight's current ETag, from a prior read. Required: the update is rejected if the insight has changed since."},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Insight"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/insights/{insight_id}/actions/viewed":{"post":{"tags":["insights"],"summary":"Record that the caller viewed an insight","description":"Records a view of the insight by the calling user: sets its first- and last-view times and increments its view count at most once per calendar day. Calls authenticated with an API key are accepted without recording a view.","operationId":"record_insight_view_route_insights__insight_id__actions_viewed_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"insight_id","in":"path","required":true,"schema":{"type":"string","title":"Insight Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/insights/actions/generate-code-change":{"post":{"tags":["insights"],"summary":"Generate a code change for an insight","description":"Suggests a rewrite of a query that applies one of the optimization opportunities SELECT detected on it. The rewrite is generated by a language model from the query and its execution profile: treat it as a suggestion and review it before running it.","operationId":"generate_code_change_route_insights_actions_generate_code_change_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeChangeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeChange"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/insights/actions/analyze-query":{"post":{"tags":["insights"],"summary":"Analyze a query for optimization insights","description":"Reports the optimization opportunities SELECT can find in a single query execution, by examining the query alongside the execution profile Snowflake recorded for it. An empty list means the query was examined and nothing was found.","operationId":"analyze_query_route_insights_actions_analyze_query_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyzeQueryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_QueryInsightV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/ticket-links":{"post":{"tags":["ticket-links"],"summary":"Link a ticket to a resource","operationId":"create_ticket_link_route_ticket_links_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketLinkCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketLink"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}},"get":{"tags":["ticket-links"],"summary":"List ticket links","operationId":"list_ticket_links_route_ticket_links_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"srn","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Srn"}},{"name":"integration_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Id"}},{"name":"is_disconnected","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Disconnected"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_TicketLink_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/ticket-links/actions/create-ticket":{"post":{"tags":["ticket-links"],"summary":"Create a ticket and link it to a resource","operationId":"create_and_link_ticket_route_ticket_links_actions_create_ticket_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketCreateAndLink"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketLink"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/ticket-links/actions/batch-get":{"post":{"tags":["ticket-links"],"summary":"Get the links on many resources","operationId":"batch_get_ticket_links_route_ticket_links_actions_batch_get_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketLinkBatchGet"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketLinkBatchGetResults"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/ticket-links/actions/generate-suggestion":{"post":{"tags":["ticket-links"],"summary":"Suggest ticket wording for a resource","description":"Suggests a title and description for an issue about a SELECT resource, written by a language model from the details SELECT holds about that resource. Nothing is created or linked: treat the wording as a draft and review it before filing.","operationId":"generate_ticket_suggestion_route_ticket_links_actions_generate_suggestion_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketSuggestionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketSuggestion"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/ticket-links/{ticket_link_id}":{"get":{"tags":["ticket-links"],"summary":"Get a ticket link","operationId":"get_ticket_link_route_ticket_links__ticket_link_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_link_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Link Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketLink"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"delete":{"tags":["ticket-links"],"summary":"Remove a ticket link","operationId":"delete_ticket_link_route_ticket_links__ticket_link_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_link_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Link Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/usage-group-sets":{"post":{"tags":["usage-group-sets"],"summary":"Create a usage group set","operationId":"create_usage_group_set_route_usage_group_sets_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageGroupSetCreateV2"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageGroupSetV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}},"get":{"tags":["usage-group-sets"],"summary":"List usage group sets","operationId":"list_usage_group_sets_route_usage_group_sets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_UsageGroupSetV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/usage-group-sets/{usage_group_set_id}":{"get":{"tags":["usage-group-sets"],"summary":"Get a usage group set","operationId":"get_usage_group_set_route_usage_group_sets__usage_group_set_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","title":"Usage Group Set Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageGroupSetV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["usage-group-sets"],"summary":"Update a usage group set","operationId":"update_usage_group_set_route_usage_group_sets__usage_group_set_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","title":"Usage Group Set Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageGroupSetUpdateV2"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageGroupSetV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}},"delete":{"tags":["usage-group-sets"],"summary":"Delete a usage group set","operationId":"delete_usage_group_set_route_usage_group_sets__usage_group_set_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","title":"Usage Group Set Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/usage-group-sets/{usage_group_set_id}/versions":{"get":{"tags":["usage-group-sets"],"summary":"List a usage group set's versions","operationId":"list_usage_group_set_versions_route_usage_group_sets__usage_group_set_id__versions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","title":"Usage Group Set Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_UsageGroupSetVersionWithUsageGroupsV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/usage-group-sets/{usage_group_set_id}/usage-groups":{"get":{"tags":["usage-group-sets"],"summary":"List usage groups in a set","operationId":"list_usage_groups_route_usage_group_sets__usage_group_set_id__usage_groups_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","title":"Usage Group Set Id"}},{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_UsageGroupV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"post":{"tags":["usage-group-sets"],"summary":"Create a usage group","operationId":"create_usage_group_route_usage_group_sets__usage_group_set_id__usage_groups_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","title":"Usage Group Set Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageGroupCreateV2"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageGroupV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}},"put":{"tags":["usage-group-sets"],"summary":"Replace all usage groups in a set","operationId":"replace_usage_groups_route_usage_group_sets__usage_group_set_id__usage_groups_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","title":"Usage Group Set Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UsageGroupReplaceV2"},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageGroupSetWithUsageGroupsV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/usage-group-sets/{usage_group_set_id}/usage-groups/{usage_group_id}":{"get":{"tags":["usage-group-sets"],"summary":"Get a usage group","operationId":"get_usage_group_route_usage_group_sets__usage_group_set_id__usage_groups__usage_group_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","title":"Usage Group Set Id"}},{"name":"usage_group_id","in":"path","required":true,"schema":{"type":"string","title":"Usage Group Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageGroupV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["usage-group-sets"],"summary":"Update a usage group","operationId":"update_usage_group_route_usage_group_sets__usage_group_set_id__usage_groups__usage_group_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","title":"Usage Group Set Id"}},{"name":"usage_group_id","in":"path","required":true,"schema":{"type":"string","title":"Usage Group Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageGroupUpdateV2"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageGroupV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}},"delete":{"tags":["usage-group-sets"],"summary":"Delete a usage group","operationId":"delete_usage_group_route_usage_group_sets__usage_group_set_id__usage_groups__usage_group_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","title":"Usage Group Set Id"}},{"name":"usage_group_id","in":"path","required":true,"schema":{"type":"string","title":"Usage Group Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/teams":{"get":{"tags":["teams"],"summary":"List teams","description":"List the teams in your organization.","operationId":"list_teams_route_teams_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"name__ilike","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name  Ilike"}},{"name":"name__not_ilike","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name  Not Ilike"}},{"name":"is_all_users","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is All Users"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_TeamV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"post":{"tags":["teams"],"summary":"Create a team","description":"Create a team in your organization.","operationId":"create_team_route_teams_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamCreateV2"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/teams/{team_id}":{"get":{"tags":["teams"],"summary":"Get a team","description":"Get a single team by id.","operationId":"get_team_route_teams__team_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["teams"],"summary":"Update a team","description":"Update a team's name or default member role.\n\nMerge-patch: only the fields you send change; omitted fields are left as-is.","operationId":"update_team_route_teams__team_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The team's current ETag, required to guard against a concurrent update.","title":"If-Match"},"description":"The team's current ETag, required to guard against a concurrent update."},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamUpdateV2"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}},"delete":{"tags":["teams"],"summary":"Delete a team","description":"Delete a team, along with its memberships and role grants.","operationId":"delete_team_route_teams__team_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The team's current ETag, required to guard against a concurrent update.","title":"If-Match"},"description":"The team's current ETag, required to guard against a concurrent update."},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/teams/actions/batch-update-memberships":{"post":{"tags":["teams"],"summary":"Set team memberships for a batch of users","description":"Set the explicit team memberships for one or more users.\n\nFor each listed user, removes all of their current explicit\n(individually-assigned) team memberships across the organization, then grants\nthe specified role on each listed team. Memberships held through an SSO group\nare never affected, and a user already in a listed team via SSO is skipped.\nThis is a full replacement, not an incremental add — any explicit membership\nnot present in this request is removed.","operationId":"batch_update_memberships_route_teams_actions_batch_update_memberships_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUpdateMembershipsV2"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_TeamMembersV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/teams/{team_id}/members":{"get":{"tags":["teams"],"summary":"List team members","description":"List a team's explicit members — the users and SSO groups assigned to it.\n\nThe all-users team returns an empty list: its membership is every organization\nmember, derived rather than stored, so there are no explicit members to page.","operationId":"list_team_members_route_teams__team_id__members_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TeamMemberType"},{"type":"null"}],"title":"Type"}},{"name":"role","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TeamRoleEnum"},{"type":"null"}],"title":"Role"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_TeamMemberV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"post":{"tags":["teams"],"summary":"Add a team member","description":"Add a user or SSO group to a team.","operationId":"add_team_member_route_teams__team_id__members_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberCreateV2"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/teams/{team_id}/members/{member_id}":{"patch":{"tags":["teams"],"summary":"Update a team member","description":"Update a team member's role.\n\nMerge-patch: only the fields you send change; omitted fields are left as-is.","operationId":"update_team_member_route_teams__team_id__members__member_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The member's current ETag, required to guard against a concurrent update.","title":"If-Match"},"description":"The member's current ETag, required to guard against a concurrent update."},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberUpdateV2"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}},"delete":{"tags":["teams"],"summary":"Remove a team member","description":"Remove a user or SSO group from a team.","operationId":"remove_team_member_route_teams__team_id__members__member_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The member's current ETag, required to guard against a concurrent update.","title":"If-Match"},"description":"The member's current ETag, required to guard against a concurrent update."},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/teams/{team_id}/roles":{"get":{"tags":["teams"],"summary":"List roles granted to a team","description":"List the roles granted to a team, each with the scope it applies to.","operationId":"list_team_roles_route_teams__team_id__roles_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_TeamRoleGrantV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"post":{"tags":["teams"],"summary":"Grant a role to a team","description":"Grant a role to a team, scoped to a resource or to the whole organization.\n\nEvery member of the team inherits the granted role on that scope.","operationId":"create_team_role_route_teams__team_id__roles_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamRoleGrantCreateV2"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamRoleGrantV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/teams/{team_id}/roles/{role_id}":{"delete":{"tags":["teams"],"summary":"Revoke a role from a team","description":"Revoke a role from a team.\n\nThe team's members lose the access this grant gave them.","operationId":"delete_team_role_route_teams__team_id__roles__role_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/users":{"get":{"tags":["users"],"summary":"List users","operationId":"list_users_route_users_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_UserV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/users/{user_id}":{"delete":{"tags":["users"],"summary":"Remove a user from the organization","description":"Removes the user from the organization and deletes their SELECT login, along with any roles granted to them. This cannot be undone — the user must be invited again to regain access.","operationId":"delete_user_route_users__user_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/users/actions/batch-update-roles":{"post":{"tags":["users"],"summary":"Set direct role grants for a batch of users","description":"Set the direct role grants for one or more users, by email.\n\nFor each listed email, removes all of its current direct role grants, then\ngrants the roles in this request. Roles inherited from a team, the\norganization's default roles, and grants held through an SSO group are\nnever affected. This is a full replacement, not an incremental add — any\ndirect grant not present in this request is removed, and an empty role list\nclears a user's direct grants entirely.","operationId":"batch_update_user_roles_route_users_actions_batch_update_roles_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUpdateUserRolesV2"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_UserRoleGrantsV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/users/{email}/roles":{"get":{"tags":["users"],"summary":"List the roles a user holds","description":"List every role a user holds, each with the scope it applies to.\n\nCovers all three sources: roles granted to the user directly, roles they\ninherit from a team, and the organization's default roles.","operationId":"list_user_roles_route_users__email__roles_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","title":"Email"}},{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_UserRoleGrantV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"post":{"tags":["users"],"summary":"Grant a role to a user","description":"Grant a role to a user, scoped to a resource or to the whole organization.\n\nRoles are held against an email address, which need not belong to a member\nyet: granting to an address you have invited takes effect when they first\nsign in.","operationId":"create_user_role_route_users__email__roles_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","title":"Email"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRoleGrantCreateV2"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRoleGrantV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/users/{email}/roles/{role_id}":{"get":{"tags":["users"],"summary":"Get a role a user holds","description":"Get a single role the user holds, from any of its three sources.","operationId":"get_user_role_route_users__email__roles__role_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","title":"Email"}},{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRoleGrantV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["users"],"summary":"Update a role granted to a user","description":"Change the role level of a grant made to this user directly.\n\nMerge-patch: only the fields you send change; omitted fields are left as-is.\nThe scope cannot be changed — revoke the grant and make a new one instead.\nA default or team-inherited role is changed at its source, not here.","operationId":"update_user_role_route_users__email__roles__role_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","title":"Email"}},{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The grant's current ETag, required to guard against a concurrent update.","title":"If-Match"},"description":"The grant's current ETag, required to guard against a concurrent update."},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRoleGrantUpdateV2"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRoleGrantV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}},"delete":{"tags":["users"],"summary":"Revoke a role from a user","description":"Revoke a role granted to this user directly.\n\nA default or team-inherited role is revoked at its source, not here.","operationId":"delete_user_role_route_users__email__roles__role_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","title":"Email"}},{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The grant's current ETag, required to guard against a concurrent update.","title":"If-Match"},"description":"The grant's current ETag, required to guard against a concurrent update."},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/sso-groups":{"get":{"tags":["sso-groups"],"summary":"List SSO groups","description":"List the SSO groups mapped in your organization.","operationId":"list_sso_groups_route_sso_groups_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_SsoGroupV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"post":{"tags":["sso-groups"],"summary":"Create an SSO group","description":"Map a group from your identity provider and grant it its first roles.\n\nMembers of the group receive these roles when they log in. At least one role\nis required: a group exists only for the roles it carries.","operationId":"create_sso_group_route_sso_groups_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoGroupCreateV2"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoGroupV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/sso-groups/{sso_group_id}":{"get":{"tags":["sso-groups"],"summary":"Get an SSO group","description":"Get a single SSO group by id, which is its name.","operationId":"get_sso_group_route_sso_groups__sso_group_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sso_group_id","in":"path","required":true,"schema":{"type":"string","title":"Sso Group Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoGroupV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["sso-groups"],"summary":"Rename an SSO group","description":"Rename an SSO group, keeping the roles it grants.\n\nMerge-patch: only the fields you send change; omitted fields are left as-is.\nThe name is the group's id, so a rename moves the group to a new URL — the\nresponse carries the new id, and requests to the old one return 404.","operationId":"update_sso_group_route_sso_groups__sso_group_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sso_group_id","in":"path","required":true,"schema":{"type":"string","title":"Sso Group Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The group's current ETag, required to guard against a concurrent update.","title":"If-Match"},"description":"The group's current ETag, required to guard against a concurrent update."},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoGroupUpdateV2"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoGroupV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}},"delete":{"tags":["sso-groups"],"summary":"Delete an SSO group","description":"Delete an SSO group and every role it grants.\n\nMembers of the group stop receiving those roles at their next login.","operationId":"delete_sso_group_route_sso_groups__sso_group_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sso_group_id","in":"path","required":true,"schema":{"type":"string","title":"Sso Group Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The group's current ETag, required to guard against a concurrent update.","title":"If-Match"},"description":"The group's current ETag, required to guard against a concurrent update."},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/sso-groups/{sso_group_id}/roles":{"get":{"tags":["sso-groups"],"summary":"List roles granted to an SSO group","description":"List the roles granted to a group, each with the scope it applies to.","operationId":"list_sso_group_roles_route_sso_groups__sso_group_id__roles_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sso_group_id","in":"path","required":true,"schema":{"type":"string","title":"Sso Group Id"}},{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_SsoGroupRoleGrantV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"post":{"tags":["sso-groups"],"summary":"Grant a role to an SSO group","description":"Grant a role to a group, scoped to a resource or to the whole organization.","operationId":"create_sso_group_role_route_sso_groups__sso_group_id__roles_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sso_group_id","in":"path","required":true,"schema":{"type":"string","title":"Sso Group Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoGroupRoleGrantCreateV2"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoGroupRoleGrantV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/sso-groups/{sso_group_id}/roles/{role_id}":{"delete":{"tags":["sso-groups"],"summary":"Revoke a role from an SSO group","description":"Revoke a role from a group.\n\nA group's last role cannot be revoked — delete the group instead.","operationId":"delete_sso_group_role_route_sso_groups__sso_group_id__roles__role_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sso_group_id","in":"path","required":true,"schema":{"type":"string","title":"Sso Group Id"}},{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/default-roles":{"get":{"tags":["default-roles"],"summary":"List default role grants","description":"List the roles every member of your organization holds by default.","operationId":"list_default_roles_route_default_roles_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_DefaultRoleGrantV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"post":{"tags":["default-roles"],"summary":"Create a default role grant","description":"Grant a role to every member of your organization by default.\n\nScope it to a resource, or omit the scope to grant it across the whole\norganization. There is no minimum — an organization may have none of these.","operationId":"create_default_role_route_default_roles_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultRoleGrantCreateV2"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultRoleGrantV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/default-roles/{role_id}":{"delete":{"tags":["default-roles"],"summary":"Delete a default role grant","description":"Revoke a default role grant. Members stop holding it immediately.","operationId":"delete_default_role_route_default_roles__role_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The grant's current ETag, required to guard against a concurrent update.","title":"If-Match"},"description":"The grant's current ETag, required to guard against a concurrent update."},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/invitations":{"get":{"tags":["invitations"],"summary":"List invitations","description":"Lists the organization's pending invitations, oldest first. An invitation leaves the list once it is accepted or revoked.","operationId":"list_invitations_route_invitations_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_InvitationV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"post":{"tags":["invitations"],"summary":"Invite a user","description":"Emails an invitation to join the organization. The invitee joins with no roles until they are granted some.","operationId":"create_invitation_route_invitations_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationCreateV2"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/invitations/{invitation_id}":{"delete":{"tags":["invitations"],"summary":"Revoke an invitation","description":"Revokes a pending invitation, so its link no longer lets the invitee join.","operationId":"delete_invitation_route_invitations__invitation_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"invitation_id","in":"path","required":true,"schema":{"type":"string","title":"Invitation Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/snowflake-accounts":{"get":{"tags":["snowflake-accounts"],"summary":"List Snowflake accounts","operationId":"list_snowflake_accounts_route_snowflake_accounts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"snowflake_organization_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Organization Name"}},{"name":"has_data_share","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Data Share"}},{"name":"sync_enabled","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sync Enabled"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_SnowflakeAccount_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"post":{"tags":["snowflake-accounts"],"summary":"Add a Snowflake account","operationId":"create_snowflake_account_route_snowflake_accounts_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnowflakeAccountCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnowflakeAccount"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/snowflake-accounts/{snowflake_account_id}":{"get":{"tags":["snowflake-accounts"],"summary":"Get a Snowflake account","operationId":"get_snowflake_account_route_snowflake_accounts__snowflake_account_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"snowflake_account_id","in":"path","required":true,"schema":{"type":"string","title":"Snowflake Account Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnowflakeAccount"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["snowflake-accounts"],"summary":"Update a Snowflake account","operationId":"update_snowflake_account_route_snowflake_accounts__snowflake_account_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"snowflake_account_id","in":"path","required":true,"schema":{"type":"string","title":"Snowflake Account Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnowflakeAccountUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnowflakeAccount"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}},"delete":{"tags":["snowflake-accounts"],"summary":"Delete a Snowflake account","operationId":"delete_snowflake_account_route_snowflake_accounts__snowflake_account_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"snowflake_account_id","in":"path","required":true,"schema":{"type":"string","title":"Snowflake Account Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/snowflake-accounts/{snowflake_account_id}/credentials":{"get":{"tags":["snowflake-accounts"],"summary":"Get a Snowflake account's credential configuration","description":"Read which authentication method and Snowflake user this account\nconnects with.\n\nThe credential secret itself is never returned — only whether it's\nconfigured. This is a singleton resource: an account has exactly one\ncredential.","operationId":"get_snowflake_account_credentials_route_snowflake_accounts__snowflake_account_id__credentials_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"snowflake_account_id","in":"path","required":true,"schema":{"type":"string","title":"Snowflake Account Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnowflakeCredentialsInfo"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/snowflake-accounts/actions/test":{"post":{"tags":["snowflake-accounts"],"summary":"Test a Snowflake account configuration","operationId":"test_snowflake_account_config_route_snowflake_accounts_actions_test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnowflakeAccountCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnowflakeAccountValidationReport"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/snowflake-accounts/{snowflake_account_id}/actions/test":{"post":{"tags":["snowflake-accounts"],"summary":"Test an added Snowflake account","operationId":"test_snowflake_account_route_snowflake_accounts__snowflake_account_id__actions_test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"snowflake_account_id","in":"path","required":true,"schema":{"type":"string","title":"Snowflake Account Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnowflakeAccountValidationReport"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/snowflake-accounts/{snowflake_account_id}/actions/test-mode":{"post":{"tags":["snowflake-accounts"],"summary":"Test Mode BI access for an account","operationId":"test_snowflake_account_mode_route_snowflake_accounts__snowflake_account_id__actions_test_mode_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"snowflake_account_id","in":"path","required":true,"schema":{"type":"string","title":"Snowflake Account Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnowflakeAccountModeTest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnowflakeAccountValidationReport"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/connections":{"get":{"tags":["connections"],"summary":"List connections","description":"List the organization's connections to its data platforms.\n\nOrdered oldest first. The response does not include a total row count.","operationId":"list_connections_route_connections_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"connection_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["snowflake","tableau","databricks","bigquery","aws","azure"],"type":"string"},{"type":"null"}],"title":"Connection Type"}},{"name":"sync_enabled","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sync Enabled"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_Connection_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/connections/{connection_id}":{"get":{"tags":["connections"],"summary":"Get a connection","description":"Read one connection by its identifier.","operationId":"get_connection_route_connections__connection_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Connection"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["connections"],"summary":"Update a connection","description":"Merge-patch a connection's Looker configuration.\n\n`looker_base_url: null` disconnects Looker, clearing all three Looker\nfields together.","operationId":"update_connection_route_connections__connection_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Connection"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/connections/{connection_id}/actions/test-looker":{"post":{"tags":["connections"],"summary":"Test Looker BI access for a connection","description":"Validate Looker BI access against an existing connection.\n\nAny field the body omits falls back to the connection's currently stored\nLooker configuration, so an empty body re-tests what's saved.","operationId":"test_connection_looker_route_connections__connection_id__actions_test_looker_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionLookerTest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionValidationReport"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/aws-accounts":{"get":{"tags":["aws-accounts"],"summary":"List AWS accounts","operationId":"list_aws_accounts_route_aws_accounts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"payer_account_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payer Account Id"}},{"name":"region","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"}},{"name":"sync_enabled","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sync Enabled"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_AwsAccount_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"post":{"tags":["aws-accounts"],"summary":"Add an AWS account","operationId":"create_aws_account_route_aws_accounts_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwsAccountCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwsAccount"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/aws-accounts/{aws_account_id}":{"get":{"tags":["aws-accounts"],"summary":"Get an AWS account","operationId":"get_aws_account_route_aws_accounts__aws_account_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"aws_account_id","in":"path","required":true,"schema":{"type":"string","title":"Aws Account Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwsAccount"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["aws-accounts"],"summary":"Update an AWS account","operationId":"update_aws_account_route_aws_accounts__aws_account_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"aws_account_id","in":"path","required":true,"schema":{"type":"string","title":"Aws Account Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwsAccountUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwsAccount"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}},"delete":{"tags":["aws-accounts"],"summary":"Delete an AWS account","operationId":"delete_aws_account_route_aws_accounts__aws_account_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"aws_account_id","in":"path","required":true,"schema":{"type":"string","title":"Aws Account Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/aws-accounts/{aws_account_id}/credentials":{"get":{"tags":["aws-accounts"],"summary":"Get an AWS account's credential configuration","description":"Read which access key an account authenticates with.\n\nThe secret access key is never returned — only the access key id. This is a\nsingleton resource: an account has exactly one credential.","operationId":"get_aws_account_credentials_route_aws_accounts__aws_account_id__credentials_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"aws_account_id","in":"path","required":true,"schema":{"type":"string","title":"Aws Account Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwsCredentialsInfo"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/aws-accounts/actions/test":{"post":{"tags":["aws-accounts"],"summary":"Test an AWS account configuration","operationId":"test_aws_account_config_route_aws_accounts_actions_test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwsAccountCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwsAccountValidationReport"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/aws-accounts/{aws_account_id}/actions/test":{"post":{"tags":["aws-accounts"],"summary":"Test an added AWS account","operationId":"test_aws_account_route_aws_accounts__aws_account_id__actions_test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"aws_account_id","in":"path","required":true,"schema":{"type":"string","title":"Aws Account Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwsAccountValidationReport"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/tableau-connections":{"get":{"tags":["tableau-connections"],"summary":"List Tableau connections","description":"Every Tableau connection the caller can read, oldest first.\n\nNo ETag: a page is not a resource, and the connections it holds each carry\ntheir own.","operationId":"list_tableau_connections_route_tableau_connections_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"site_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Name"}},{"name":"sync_enabled","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sync Enabled"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_TableauConnection_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"post":{"tags":["tableau-connections"],"summary":"Add a Tableau connection","operationId":"create_tableau_connection_route_tableau_connections_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableauConnectionCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableauConnection"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/tableau-connections/{tableau_connection_id}":{"get":{"tags":["tableau-connections"],"summary":"Get a Tableau connection","description":"One Tableau connection by id.","operationId":"get_tableau_connection_route_tableau_connections__tableau_connection_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"tableau_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Tableau Connection Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableauConnection"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["tableau-connections"],"summary":"Update a Tableau connection","operationId":"update_tableau_connection_route_tableau_connections__tableau_connection_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"tableau_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Tableau Connection Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableauConnectionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableauConnection"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}},"delete":{"tags":["tableau-connections"],"summary":"Delete a Tableau connection","operationId":"delete_tableau_connection_route_tableau_connections__tableau_connection_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"tableau_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Tableau Connection Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/tableau-connections/{tableau_connection_id}/credentials":{"get":{"tags":["tableau-connections"],"summary":"Get a Tableau connection's credential configuration","description":"Which personal access token a connection authenticates as.\n\nThe token secret itself is never returned — only whether it's configured.\nThis is a singleton resource: a connection has exactly one credential.","operationId":"get_tableau_connection_credentials_route_tableau_connections__tableau_connection_id__credentials_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"tableau_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Tableau Connection Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableauCredentialsInfo"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/tableau-connections/actions/test":{"post":{"tags":["tableau-connections"],"summary":"Test a Tableau connection configuration","description":"Run every check against a proposed configuration, persisting nothing.","operationId":"test_tableau_connection_config_route_tableau_connections_actions_test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableauConnectionCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableauConnectionValidationReport"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/tableau-connections/{tableau_connection_id}/actions/test":{"post":{"tags":["tableau-connections"],"summary":"Test a Tableau connection","description":"Re-run validation against a stored connection's own configuration.","operationId":"test_tableau_connection_route_tableau_connections__tableau_connection_id__actions_test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"tableau_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Tableau Connection Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableauConnectionValidationReport"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/bigquery-connections":{"get":{"tags":["bigquery-connections"],"summary":"List BigQuery connections","operationId":"list_bigquery_connections_route_bigquery_connections_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"gcp_project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcp Project Id"}},{"name":"gcp_organization_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcp Organization Name"}},{"name":"is_doit","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Doit"}},{"name":"sync_enabled","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sync Enabled"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_BigQueryConnection_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"post":{"tags":["bigquery-connections"],"summary":"Add a BigQuery connection","operationId":"create_bigquery_connection_route_bigquery_connections_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BigQueryConnectionCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BigQueryConnection"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/bigquery-connections/{bigquery_connection_id}":{"get":{"tags":["bigquery-connections"],"summary":"Get a BigQuery connection","operationId":"get_bigquery_connection_route_bigquery_connections__bigquery_connection_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"bigquery_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Bigquery Connection Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BigQueryConnection"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["bigquery-connections"],"summary":"Update a BigQuery connection","operationId":"update_bigquery_connection_route_bigquery_connections__bigquery_connection_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"bigquery_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Bigquery Connection Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BigQueryConnectionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BigQueryConnection"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}},"delete":{"tags":["bigquery-connections"],"summary":"Delete a BigQuery connection","operationId":"delete_bigquery_connection_route_bigquery_connections__bigquery_connection_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"bigquery_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Bigquery Connection Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/bigquery-connections/actions/test":{"post":{"tags":["bigquery-connections"],"summary":"Test a BigQuery connection configuration","operationId":"test_bigquery_connection_config_route_bigquery_connections_actions_test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BigQueryConnectionCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BigQueryConnectionValidationReport"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/bigquery-connections/{bigquery_connection_id}/actions/test":{"post":{"tags":["bigquery-connections"],"summary":"Test an added BigQuery connection","operationId":"test_bigquery_connection_route_bigquery_connections__bigquery_connection_id__actions_test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"bigquery_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Bigquery Connection Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BigQueryConnectionValidationReport"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/bigquery-connections/{bigquery_connection_id}/actions/test-stream":{"post":{"tags":["bigquery-connections"],"summary":"Test an added BigQuery connection, streamed","operationId":"test_bigquery_connection_stream_route_bigquery_connections__bigquery_connection_id__actions_test_stream_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"bigquery_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Bigquery Connection Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"A stream of Server-Sent Events.","content":{"text/event-stream":{"schema":{"type":"object","oneOf":[{"$ref":"#/components/schemas/BigQueryConnectionCheckEvent"},{"$ref":"#/components/schemas/DoneEvent_BigQueryConnectionValidationReport_"}],"discriminator":{"propertyName":"event","mapping":{"check":"#/components/schemas/BigQueryConnectionCheckEvent","done":"#/components/schemas/DoneEvent_BigQueryConnectionValidationReport_"}},"title":"Response 200 Test Bigquery Connection Stream Route Bigquery Connections  Bigquery Connection Id  Actions Test Stream Post"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/bigquery-connections/actions/add-stream":{"post":{"tags":["bigquery-connections"],"summary":"Add a BigQuery connection, streamed","operationId":"create_bigquery_connection_stream_route_bigquery_connections_actions_add_stream_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BigQueryConnectionCreate"}}}},"responses":{"200":{"description":"A stream of Server-Sent Events.","content":{"text/event-stream":{"schema":{"type":"object","oneOf":[{"$ref":"#/components/schemas/BigQueryConnectionCheckEvent"},{"$ref":"#/components/schemas/DoneEvent_BigQueryConnection_"}],"discriminator":{"propertyName":"event","mapping":{"check":"#/components/schemas/BigQueryConnectionCheckEvent","done":"#/components/schemas/DoneEvent_BigQueryConnection_"}},"title":"Response 200 Create Bigquery Connection Stream Route Bigquery Connections Actions Add Stream Post"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/bigquery-connections/{bigquery_connection_id}/actions/update-stream":{"post":{"tags":["bigquery-connections"],"summary":"Update a BigQuery connection, streamed","operationId":"update_bigquery_connection_stream_route_bigquery_connections__bigquery_connection_id__actions_update_stream_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"bigquery_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Bigquery Connection Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BigQueryConnectionUpdate"}}}},"responses":{"200":{"description":"A stream of Server-Sent Events.","content":{"text/event-stream":{"schema":{"type":"object","oneOf":[{"$ref":"#/components/schemas/BigQueryConnectionCheckEvent"},{"$ref":"#/components/schemas/DoneEvent_BigQueryConnection_"}],"discriminator":{"propertyName":"event","mapping":{"check":"#/components/schemas/BigQueryConnectionCheckEvent","done":"#/components/schemas/DoneEvent_BigQueryConnection_"}},"title":"Response 200 Update Bigquery Connection Stream Route Bigquery Connections  Bigquery Connection Id  Actions Update Stream Post"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/databricks-connections":{"get":{"tags":["databricks-connections"],"summary":"List Databricks connections","description":"Every Databricks connection the caller can read, oldest first.\n\nNo ETag: a page is not a resource, and the connections it holds each carry\ntheir own.","operationId":"list_databricks_connections_route_databricks_connections_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"databricks_account_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Databricks Account Id"}},{"name":"sync_enabled","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sync Enabled"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_DatabricksConnection_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"post":{"tags":["databricks-connections"],"summary":"Add a Databricks connection","operationId":"create_databricks_connection_route_databricks_connections_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksConnectionCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksConnection"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/databricks-connections/{databricks_connection_id}":{"get":{"tags":["databricks-connections"],"summary":"Get a Databricks connection","description":"One Databricks connection by id.","operationId":"get_databricks_connection_route_databricks_connections__databricks_connection_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"databricks_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Databricks Connection Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksConnection"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["databricks-connections"],"summary":"Update a Databricks connection","operationId":"update_databricks_connection_route_databricks_connections__databricks_connection_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"databricks_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Databricks Connection Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksConnectionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksConnection"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}},"delete":{"tags":["databricks-connections"],"summary":"Delete a Databricks connection","operationId":"delete_databricks_connection_route_databricks_connections__databricks_connection_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"databricks_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Databricks Connection Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/databricks-connections/{databricks_connection_id}/credentials":{"get":{"tags":["databricks-connections"],"summary":"Get a Databricks connection's credential configuration","description":"Which service principal a connection authenticates as.\n\nThe credential secret itself is never returned — only whether it's\nconfigured. This is a singleton resource: a connection has exactly one\ncredential.","operationId":"get_databricks_connection_credentials_route_databricks_connections__databricks_connection_id__credentials_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"databricks_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Databricks Connection Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksCredentialsInfo"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/databricks-connections/actions/test":{"post":{"tags":["databricks-connections"],"summary":"Test a Databricks connection configuration","description":"Run every check against a proposed configuration, persisting nothing.","operationId":"test_databricks_connection_config_route_databricks_connections_actions_test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksConnectionCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksConnectionValidationReport"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/databricks-connections/{databricks_connection_id}/actions/test":{"post":{"tags":["databricks-connections"],"summary":"Test a Databricks connection","description":"Re-run validation against a stored connection's own configuration.","operationId":"test_databricks_connection_route_databricks_connections__databricks_connection_id__actions_test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"databricks_connection_id","in":"path","required":true,"schema":{"type":"string","title":"Databricks Connection Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksConnectionValidationReport"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/databricks-workspaces":{"get":{"tags":["databricks-workspaces"],"summary":"List Databricks workspaces","description":"List the Databricks workspaces SELECT has seen activity in.\n\nOrdered by identifier. The response does not include a total row count.","operationId":"list_databricks_workspaces_route_databricks_workspaces_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"databricks_account_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Databricks Account Id"}},{"name":"databricks_connection_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Databricks Connection Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_DatabricksWorkspace_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/budgets/actions/query":{"post":{"tags":["budgets"],"summary":"Query budgets by dimension and measure","operationId":"query_budgets_route_budgets_actions_query_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetQuery"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetQueryResults"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/budgets":{"post":{"tags":["budgets"],"summary":"Create a budget","description":"Creates a budget. Its `status` is null until the budget has been measured against spend — evaluate it to fill that in without waiting for the daily refresh.","operationId":"create_budget_route_budgets_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}},"get":{"tags":["budgets"],"summary":"List budgets","operationId":"list_budgets_route_budgets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"name__ilike","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name  Ilike"}},{"name":"name__not_ilike","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name  Not Ilike"}},{"name":"name__isnull","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Name  Isnull"}},{"name":"id__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id  In"}},{"name":"id__not_in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id  Not In"}},{"name":"status__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status  In"}},{"name":"status__not_in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status  Not In"}},{"name":"status__isnull","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Status  Isnull"}},{"name":"frequency__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Frequency  In"}},{"name":"frequency__not_in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Frequency  Not In"}},{"name":"frequency__isnull","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Frequency  Isnull"}},{"name":"team_id__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id  In"}},{"name":"team_id__not_in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id  Not In"}},{"name":"team_id__isnull","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Team Id  Isnull"}},{"name":"started_at__gte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At  Gte"}},{"name":"started_at__lte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At  Lte"}},{"name":"budget_start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Budget Start Date"}},{"name":"budget_start_date__neq","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Budget Start Date  Neq"}},{"name":"budget_start_date__gt","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Budget Start Date  Gt"}},{"name":"budget_start_date__gte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Budget Start Date  Gte"}},{"name":"budget_start_date__lt","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Budget Start Date  Lt"}},{"name":"budget_start_date__lte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Budget Start Date  Lte"}},{"name":"budget_start_date__in_range","in":"query","required":false,"schema":{"anyOf":[{"enum":["7D","30D","90D","WTD","MTD","LMTD","QTD","YTD","1M","3M","6M","12M"],"type":"string"},{"type":"null"}],"title":"Budget Start Date  In Range"}},{"name":"budget_start_date__not_in_range","in":"query","required":false,"schema":{"anyOf":[{"enum":["7D","30D","90D","WTD","MTD","LMTD","QTD","YTD","1M","3M","6M","12M"],"type":"string"},{"type":"null"}],"title":"Budget Start Date  Not In Range"}},{"name":"budget_start_date__isnull","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Budget Start Date  Isnull"}},{"name":"budget_end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Budget End Date"}},{"name":"budget_end_date__neq","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Budget End Date  Neq"}},{"name":"budget_end_date__gt","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Budget End Date  Gt"}},{"name":"budget_end_date__gte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Budget End Date  Gte"}},{"name":"budget_end_date__lt","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Budget End Date  Lt"}},{"name":"budget_end_date__lte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Budget End Date  Lte"}},{"name":"budget_end_date__in_range","in":"query","required":false,"schema":{"anyOf":[{"enum":["7D","30D","90D","WTD","MTD","LMTD","QTD","YTD","1M","3M","6M","12M"],"type":"string"},{"type":"null"}],"title":"Budget End Date  In Range"}},{"name":"budget_end_date__not_in_range","in":"query","required":false,"schema":{"anyOf":[{"enum":["7D","30D","90D","WTD","MTD","LMTD","QTD","YTD","1M","3M","6M","12M"],"type":"string"},{"type":"null"}],"title":"Budget End Date  Not In Range"}},{"name":"budget_end_date__isnull","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Budget End Date  Isnull"}},{"name":"created_at__gte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At  Gte"}},{"name":"created_at__lte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At  Lte"}},{"name":"created_by__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By  In"}},{"name":"created_by__not_in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By  Not In"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_BudgetV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/budgets/spend-summaries":{"get":{"tags":["budgets"],"summary":"List budget spend summaries","description":"`spend` and `forecast` come from the budget's daily refresh, not from a query run for this request, so a page of summaries costs no warehouse time. Only days that have finished loading count, and a day only finishes once, so the figures step forward daily rather than continuously. Both are null on a budget the refresh has not reached yet — evaluate the budget to fill them in without waiting for the next one. Ordered and paginated like the budgets list.","operationId":"list_budget_spend_summaries_route_budgets_spend_summaries_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_BudgetSpendSummaryV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/budgets/{budget_id}":{"get":{"tags":["budgets"],"summary":"Get a budget","operationId":"get_budget_route_budgets__budget_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"budget_id","in":"path","required":true,"schema":{"type":"string","title":"Budget Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["budgets"],"summary":"Update a budget","description":"Applies a merge patch: a field the request omits is left unchanged, and an explicit null clears `team_id` or `filter_expression`. Changing `amount`, `period` or `filter_expression` clears the budget's evaluated `status`, `spend` and `forecast` — they measured the old definition — and lets a monitor watching it alert again on thresholds it has already reported. Evaluate the budget to refresh them without waiting for the next daily run.","operationId":"update_budget_route_budgets__budget_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"budget_id","in":"path","required":true,"schema":{"type":"string","title":"Budget Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The budget's current ETag, from a prior read. Required: the request is rejected if the budget has changed since.","title":"If-Match"},"description":"The budget's current ETag, from a prior read. Required: the request is rejected if the budget has changed since."},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}},"delete":{"tags":["budgets"],"summary":"Delete a budget","description":"Deletes the budget, and with it every monitor watching the budget. Spend already recorded is unaffected.","operationId":"delete_budget_route_budgets__budget_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"budget_id","in":"path","required":true,"schema":{"type":"string","title":"Budget Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The budget's current ETag, from a prior read. Required: the request is rejected if the budget has changed since.","title":"If-Match"},"description":"The budget's current ETag, from a prior read. Required: the request is rejected if the budget has changed since."},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/budgets/{budget_id}/spend-summary":{"get":{"tags":["budgets"],"summary":"Get a budget's spend summary","description":"`spend` and `forecast` come from the budget's daily refresh, not from a query run for this request, so a page of summaries costs no warehouse time. Only days that have finished loading count, and a day only finishes once, so the figures step forward daily rather than continuously. Both are null on a budget the refresh has not reached yet — evaluate the budget to fill them in without waiting for the next one.","operationId":"get_budget_spend_summary_route_budgets__budget_id__spend_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"budget_id","in":"path","required":true,"schema":{"type":"string","title":"Budget Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetSpendSummaryV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/budgets/{budget_id}/actions/evaluate":{"post":{"tags":["budgets"],"summary":"Evaluate a budget's spend now","description":"Measures the budget against the warehouse now and stores the result, rather than waiting for the daily refresh, then returns the summary it wrote. The one budget operation that runs a warehouse query, so it is slower than a read and costs warehouse time — call it when a budget has just been created or changed, not to poll. Returns `409` if the budget changed while it was being measured. Requires `budgets:write`.","operationId":"evaluate_budget_route_budgets__budget_id__actions_evaluate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"budget_id","in":"path","required":true,"schema":{"type":"string","title":"Budget Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetSpendSummaryV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/dashboards":{"post":{"tags":["dashboards"],"summary":"Create a dashboard","description":"Creates a dashboard, optionally with its initial blocks.","operationId":"create_dashboard_route_dashboards_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}},"get":{"tags":["dashboards"],"summary":"List dashboards","description":"Lists dashboards in the selected organization, newest first.","operationId":"list_dashboards_route_dashboards_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_DashboardV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/dashboards/{dashboard_id}":{"get":{"tags":["dashboards"],"summary":"Get a dashboard","operationId":"get_dashboard_route_dashboards__dashboard_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"dashboard_id","in":"path","required":true,"schema":{"type":"string","title":"Dashboard Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["dashboards"],"summary":"Update a dashboard","description":"Applies a merge patch to a dashboard. Omitted fields remain unchanged; an explicit null clears a nullable field. Blocks are managed separately.","operationId":"update_dashboard_route_dashboards__dashboard_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"dashboard_id","in":"path","required":true,"schema":{"type":"string","title":"Dashboard Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The dashboard's current ETag.","title":"If-Match"},"description":"The dashboard's current ETag."},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}},"delete":{"tags":["dashboards"],"summary":"Delete a dashboard","description":"Deletes a dashboard and removes related home selections, favorites, and scheduled digests.","operationId":"delete_dashboard_route_dashboards__dashboard_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"dashboard_id","in":"path","required":true,"schema":{"type":"string","title":"Dashboard Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The dashboard's current ETag.","title":"If-Match"},"description":"The dashboard's current ETag."},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/srn/actions/resolve":{"post":{"tags":["srn"],"summary":"Resolve a resource to its canonical SRN","operationId":"resolve_srn_route_srn_actions_resolve_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SrnResolveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SrnResolveResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/actions":{"post":{"tags":["actions"],"summary":"Create an action","operationId":"create_action_route_actions_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}},"get":{"tags":["actions"],"summary":"List actions","operationId":"list_actions_route_actions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sort_order","in":"query","required":false,"schema":{"enum":["asc","desc"],"type":"string","description":"`asc` (oldest-first) or `desc` (newest-first, default).","default":"desc","title":"Sort Order"},"description":"`asc` (oldest-first) or `desc` (newest-first, default)."},{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor from a previous response. Omit on the first call.","title":"Page Token"},"description":"Opaque cursor from a previous response. Omit on the first call."},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Results"}},{"name":"srn","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Srn"}},{"name":"savings_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["calculated","manual"],"type":"string"},{"type":"null"}],"title":"Savings Type"}},{"name":"savings_status","in":"query","required":false,"schema":{"anyOf":[{"enum":["pending","calculated","error","unsupported"],"type":"string"},{"type":"null"}],"title":"Savings Status"}},{"name":"user_email","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Email"}},{"name":"srn_resource_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Srn Resource Type"}},{"name":"insight_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Insight Id"}},{"name":"actioned_at__gte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Actioned At  Gte"}},{"name":"actioned_at__lte","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Actioned At  Lte"}},{"name":"team_id__in","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id  In"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_ActionV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/actions/actions/batch-create":{"post":{"tags":["actions"],"summary":"Create actions in a batch","operationId":"batch_create_actions_route_actions_actions_batch_create_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionBatchCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse_ActionV2_"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/actions/actions/query":{"post":{"tags":["actions"],"summary":"Query actions by dimension and measure","operationId":"query_actions_route_actions_actions_query_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionQuery"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionQueryResults"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/actions/{action_id}":{"get":{"tags":["actions"],"summary":"Get an action","operationId":"get_action_route_actions__action_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}},"patch":{"tags":["actions"],"summary":"Update an action","operationId":"update_action_route_actions__action_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionV2"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}},"delete":{"tags":["actions"],"summary":"Delete an action","operationId":"delete_action_route_actions__action_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"responses":{"204":{"description":"Successful Response"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"428":{"$ref":"#/components/responses/PreconditionRequired"}}}},"/metrics/action-realized-savings/query":{"post":{"tags":["metrics"],"summary":"Query realized action savings","description":"Returns one row per combination of the requested dimensions, carrying the requested measures. Each row is keyed by dimension and measure name. `row_count` is the number of rows in `items`: results are not paginated, so an aggregation with more rows than `limit` is cut short at `limit` rather than continued under a `page_token`. Set `return_sql` to see the SQL the rows came from.","operationId":"query_realized_savings_route_metrics_action_realized_savings_query_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string","description":"The organization ID the request is scoped to.","title":"X-Tenant-Id"},"description":"The organization ID the request is scoped to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionRealizedSavingsQuery"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryResponse_dict_str__Any__"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"408":{"$ref":"#/components/responses/RequestTimeout"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"409":{"$ref":"#/components/responses/Conflict"}}}}},"components":{"schemas":{"AccessRole":{"type":"string","enum":["admin","editor","monitor_editor","viewer","team_creator"],"title":"AccessRole","description":"The permission level a role grant confers."},"ActionBatchCreate":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ActionCreate"},"type":"array","maxItems":100,"minItems":1,"title":"Items"}},"additionalProperties":false,"type":"object","required":["items"],"title":"ActionBatchCreate","description":"Create a batch of cost-saving actions in one all-or-nothing request.\n\nEvery entry is checked before anything is written: if any entry is rejected,\nno actions are created and the error names the entry that caused it. The\ncreated actions are returned in the same order as `items`."},"ActionCreate":{"properties":{"title":{"type":"string","maxLength":200,"title":"Title"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment"},"user_email":{"type":"string","minLength":1,"title":"User Email","description":"Email of the person who took this action. Defaults to the calling user. Required for an API key, which has no user identity. Cannot be `null`.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"actioned_time":{"type":"string","format":"date-time","title":"Actioned Time","description":"When the action was taken, as an RFC 3339 timestamp. Defaults to now. Set it to backdate the action; savings are then measured from that day. Converted to UTC; a timestamp with no offset is read as UTC. Cannot be `null`."},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"srn":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Srn","description":"The canonical SELECT Resource Name (SRN) of the resource this action applies to. Resolve one from a resource's identifying details with `POST /v2/srn/actions/resolve`. An empty string scopes the action to the whole organization. Insight SRNs are rejected — name an insight with `insight_id` instead."},"insight_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Insight Id"},"savings_type":{"type":"string","enum":["manual","calculated","calculated_smart_suspend"],"title":"Savings Type"},"savings_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Savings Amount"},"savings_rate_percent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Savings Rate Percent"},"select_feature":{"anyOf":[{"type":"string","enum":["smart_suspend","apc_automated_savings","dbx_warehouse_automated_savings","jcss_automated_savings"]},{"type":"null"}],"title":"Select Feature"},"resource_metadata":{"anyOf":[{"$ref":"#/components/schemas/ResourceMetadata"},{"type":"null"}]},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Team Id"}},"additionalProperties":false,"type":"object","required":["title","savings_type"],"title":"ActionCreate","description":"Create a cost-saving action.\n\nName the resource the action applies to with exactly one of `srn` or\n`insight_id`. If you have the resource's identifying details but not its\nSRN, resolve one first with `POST /v2/srn/actions/resolve`. An action on an\ninsight must name it with `insight_id`.\n\n`user_email` defaults to the calling user. `actioned_time` defaults to now;\nset it to backdate the action. An API key has no user identity, so a\nkey-authenticated caller must set `user_email`."},"ActionDimensionName":{"type":"string","enum":["id","srn","title","comment","user_email","actioned_at","end_date","savings_amount","savings_rate_percent","current_daily_savings","current_annualized_savings","current_realized_savings","savings_type","savings_status","select_feature","created_at","updated_at","created_by","updated_by","insight_id","insight_type","team_id","resource_metadata","srn_resource_type","connection_type","platform_organization","platform_instance","platform_instance_name","snowflake_account_name","snowflake_org_name","databricks_account_id","databricks_workspace_id"],"title":"ActionDimensionName"},"ActionMeasureName":{"type":"string","enum":["count","sum_savings_amount","avg_savings_amount","sum_current_annualized_savings","sum_current_daily_savings"],"title":"ActionMeasureName"},"ActionPatch":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Title"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment"},"user_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Email","x-doit-confidentiality":"customer-data","x-doit-pii":true},"actioned_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Actioned Time"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"savings_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Savings Amount"},"savings_rate_percent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Savings Rate Percent"},"savings_type":{"anyOf":[{"type":"string","enum":["calculated","manual"]},{"type":"null"}],"title":"Savings Type"},"savings_override_percent":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Savings Override Percent"},"select_feature":{"anyOf":[{"type":"string","enum":["smart_suspend","apc_automated_savings","dbx_warehouse_automated_savings","jcss_automated_savings"]},{"type":"null"}],"title":"Select Feature"},"resource_metadata":{"anyOf":[{"$ref":"#/components/schemas/ResourceMetadata"},{"type":"null"}]},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Team Id"},"insight_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Insight Id"},"srn":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Srn","description":"The canonical SELECT Resource Name (SRN) of the resource this action applies to. Resolve one from a resource's identifying details with `POST /v2/srn/actions/resolve`. An empty string scopes the action to the whole organization. Insight SRNs are rejected — name an insight with `insight_id` instead. Patching `srn` detaches the action from any insight."}},"additionalProperties":false,"type":"object","title":"ActionPatch","description":"Update a cost-saving action.\n\nAn omitted field is left unchanged; an explicit null clears a field that is\nnullable. Re-point the action at a different resource with at most one of `srn` or\n`insight_id`. Close an action by setting `end_date`. Savings status, calculation\nmetadata and materialization progress are server-managed and are not patchable."},"ActionQuery":{"properties":{"measures":{"items":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredMeasure_ActionDimensionName_"},{"$ref":"#/components/schemas/ActionMeasureName"}]},"type":"array","title":"Measures"},"dimensions":{"items":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ActionDimensionName_"},{"$ref":"#/components/schemas/ActionDimensionName"}]},"type":"array","title":"Dimensions"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/InFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"$ref":"#/components/schemas/ArrayContainsFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"$ref":"#/components/schemas/IsFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"$ref":"#/components/schemas/LikeFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"$ref":"#/components/schemas/MultiLikeFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"$ref":"#/components/schemas/EqFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"}]},"type":"array","title":"Filters"},"filter_expression":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"type":"null"}]},"measure_filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/InFilter_ActionMeasureName_"},{"$ref":"#/components/schemas/ArrayContainsFilter_ActionMeasureName_"},{"$ref":"#/components/schemas/IsFilter_ActionMeasureName_"},{"$ref":"#/components/schemas/LikeFilter_ActionMeasureName_"},{"$ref":"#/components/schemas/MultiLikeFilter_ActionMeasureName_"},{"$ref":"#/components/schemas/EqFilter_ActionMeasureName_"},{"$ref":"#/components/schemas/FilterExpression_ActionMeasureName_"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_ActionMeasureName_"}]},"type":"array","title":"Measure Filters"},"sort":{"items":{"$ref":"#/components/schemas/Sort_ActionMeasureName_ActionDimensionName_"},"type":"array","title":"Sort"},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Limit","description":"Maximum rows to return, at most 10000. An aggregation that produces more rows than this is silently cut short at the limit, so narrow the filters or group by fewer dimensions rather than raising it to see everything.","default":10000}},"additionalProperties":false,"type":"object","title":"ActionQuery","description":"An aggregate query over actions.\n\nGroup with `dimensions`, aggregate with `measures`, narrow rows with `filters`\nor `filter_expression`, and narrow aggregates with `measure_filters`. To restrict\nresults to a team, filter on the `team_id` dimension."},"ActionQueryResults":{"properties":{"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ActionQueryResults","description":"Aggregated action rows, each keyed by the requested dimensions and measures."},"ActionRealizedSavingsQuery":{"properties":{"measures":{"items":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredMeasure_DailyActionSavingsDimensions_"},{"$ref":"#/components/schemas/DailyActionSavingsMeasures"}]},"type":"array","title":"Measures","description":"Aggregates to compute over the matching rows."},"dimensions":{"items":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_DailyActionSavingsDimensions_"},{"$ref":"#/components/schemas/DailyActionSavingsDimensions"}]},"type":"array","title":"Dimensions","description":"Columns to group the aggregates by. Each is returned on every row."},"filter_expression":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__"},{"type":"null"}],"description":"An `and`/`or` tree of predicates over dimensions, applied before aggregation. Omit to match every row the caller can see."},"measure_filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/InFilter_DailyActionSavingsMeasures_"},{"$ref":"#/components/schemas/ArrayContainsFilter_DailyActionSavingsMeasures_"},{"$ref":"#/components/schemas/IsFilter_DailyActionSavingsMeasures_"},{"$ref":"#/components/schemas/LikeFilter_DailyActionSavingsMeasures_"},{"$ref":"#/components/schemas/MultiLikeFilter_DailyActionSavingsMeasures_"},{"$ref":"#/components/schemas/EqFilter_DailyActionSavingsMeasures_"},{"$ref":"#/components/schemas/FilterExpression_DailyActionSavingsMeasures_"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_DailyActionSavingsMeasures_"}]},"type":"array","title":"Measure Filters","description":"Predicates over measures, applied after aggregation."},"sort":{"items":{"$ref":"#/components/schemas/Sort_DailyActionSavingsMeasures_DailyActionSavingsDimensions_"},"type":"array","title":"Sort","description":"Ordering applied to the aggregated rows."},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Limit","description":"Maximum rows to return, at most 10000. An aggregation that produces more rows than this is silently cut short at the limit, so narrow the filters or group by fewer dimensions rather than raising it to see everything.","default":1000},"return_sql":{"type":"boolean","title":"Return Sql","description":"Return the SQL that produced the rows alongside them, for inspecting how a result was computed. Not every query endpoint publishes its SQL; where it does not, the field stays null.","default":false}},"additionalProperties":false,"type":"object","title":"ActionRealizedSavingsQuery","description":"Aggregate the savings actions have realized, day by day.\n\nRows are already scoped to the teams the caller may see. To narrow further to\nspecific teams, filter on the `team_id` dimension."},"ActionTypeKey":{"type":"string","enum":["warehouse","query-pattern","task","stored-procedure","dynamic-table","snowpipe","dbt","storage","view","custom-workload","databricks-query-pattern","databricks-job","databricks-task","databricks-sql-warehouse","databricks-all-purpose","databricks-submit-run-job","databricks-dbt","looker-dashboard","looker-explore","mode-report","hex-project","periscope-dashboard","sigma-type","sigma-kind","tableau-workbook","tableau-data-source","tableau-user","fivetran-table","global"],"title":"ActionTypeKey","description":"Canonical SRN resource-type slugs for savings actions.\n\nSingle source of truth for the set: this enum is surfaced in the OpenAPI\nspec, so the frontend's `ActionTypeKey` type is generated from it (see\nweb/frontend/src/utils/savings/actionTypes.ts)."},"ActionV2":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"srn":{"type":"string","title":"Srn"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment"},"user_email":{"type":"string","title":"User Email","x-doit-confidentiality":"customer-data","x-doit-pii":true},"actioned_time":{"type":"string","title":"Actioned Time"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"insight_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Insight Id"},"insight_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Insight Type"},"savings_type":{"anyOf":[{"type":"string","enum":["calculated","manual"]},{"type":"null"}],"title":"Savings Type"},"savings_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Savings Amount"},"savings_rate_percent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Savings Rate Percent"},"savings_override_percent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Savings Override Percent"},"current_daily_savings":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Daily Savings","readOnly":true,"x-terraform-computed":true},"current_annualized_savings":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Annualized Savings","readOnly":true,"x-terraform-computed":true},"current_realized_savings":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Realized Savings","readOnly":true,"x-terraform-computed":true},"savings_status":{"anyOf":[{"type":"string","enum":["pending","calculated","error","unsupported"]},{"type":"null"}],"title":"Savings Status"},"savings_calculation_metadata":{"anyOf":[{"$ref":"#/components/schemas/SavingsCalculationMetadata"},{"type":"null"}]},"savings_materialized_through":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Savings Materialized Through"},"select_feature":{"anyOf":[{"type":"string","enum":["smart_suspend","apc_automated_savings","dbx_warehouse_automated_savings","jcss_automated_savings"]},{"type":"null"}],"title":"Select Feature"},"resource_metadata":{"anyOf":[{"$ref":"#/components/schemas/ResourceMetadata"},{"type":"null"}]},"team_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id"},"created_by":{"type":"string","title":"Created By","x-doit-confidentiality":"customer-data","x-doit-pii":true},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By","x-doit-confidentiality":"customer-data","x-doit-pii":true},"srn_resource_type":{"type":"string","title":"Srn Resource Type"},"create_time":{"type":"string","title":"Create Time"},"update_time":{"type":"string","title":"Update Time"},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","title","srn","user_email","actioned_time","created_by","srn_resource_type","create_time","update_time","etag"],"title":"Action","description":"A cost-saving action taken on a Snowflake resource, with its measured savings."},"AnalyzeQueryRequest":{"properties":{"query_id":{"type":"string","title":"Query Id","description":"The Snowflake query id of the query to analyze. The query must have run in the last 14 days for its execution profile to still be available."}},"additionalProperties":false,"type":"object","required":["query_id"],"title":"AnalyzeQueryRequest","description":"Identifies the query execution to analyze."},"AppendRowPosition":{"properties":{"kind":{"type":"string","const":"append_row","title":"Kind"},"height_px":{"type":"integer","exclusiveMinimum":0.0,"title":"Height Px"},"col_span":{"anyOf":[{"type":"integer","maximum":12.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Col Span"}},"additionalProperties":false,"type":"object","required":["kind","height_px"],"title":"AppendRowPosition"},"ArrayContainsFilter_ActionMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/ActionMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","const":"array_contains","title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"ArrayContainsFilter[ActionMeasureName]"},"ArrayContainsFilter_BudgetDimensionName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetDimensionName"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","const":"array_contains","title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"ArrayContainsFilter[BudgetDimensionName]"},"ArrayContainsFilter_BudgetMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","const":"array_contains","title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"ArrayContainsFilter[BudgetMeasureName]"},"ArrayContainsFilter_DailyActionSavingsMeasures_":{"properties":{"field":{"$ref":"#/components/schemas/DailyActionSavingsMeasures"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","const":"array_contains","title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"ArrayContainsFilter[DailyActionSavingsMeasures]"},"ArrayContainsFilter_InsightMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/InsightMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","const":"array_contains","title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"ArrayContainsFilter[InsightMeasureName]"},"ArrayContainsFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ActionDimensionName_"},{"$ref":"#/components/schemas/ActionDimensionName"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","const":"array_contains","title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"ArrayContainsFilter[Union[SemiStructuredDimension[ActionDimensionName], ActionDimensionName]]"},"ArrayContainsFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ConsolidatedDailySpendDimensions_"},{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","const":"array_contains","title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"ArrayContainsFilter[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"ArrayContainsFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ConsolidatedDailySpendDimensions_"},{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","const":"array_contains","title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"ArrayContainsFilter[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"ArrayContainsFilter_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_DailyActionSavingsDimensions_"},{"$ref":"#/components/schemas/DailyActionSavingsDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","const":"array_contains","title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"ArrayContainsFilter[Union[SemiStructuredDimension[DailyActionSavingsDimensions], DailyActionSavingsDimensions]]"},"ArrayContainsFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_InsightDimensionName_"},{"$ref":"#/components/schemas/InsightDimensionName"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","const":"array_contains","title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"ArrayContainsFilter[Union[SemiStructuredDimension[InsightDimensionName], InsightDimensionName]]"},"ArrayContainsFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_"},{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","const":"array_contains","title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"ArrayContainsFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"ArrayContainsFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_"},{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","const":"array_contains","title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"ArrayContainsFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"AwsAccount":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the account.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for this account's configuration. Matches the `ETag` response header, and is what `If-Match` requires on a write. It changes whenever a configurable field on the account changes.","readOnly":true,"x-terraform-computed":true},"name":{"type":"string","title":"Name","description":"Display name for the account, as shown throughout SELECT."},"connection_id":{"type":"string","title":"Connection Id","description":"Identifier of the underlying connection, which SELECT reports sync state and connection alerts against.","readOnly":true,"x-terraform-computed":true},"payer_account_id":{"type":"string","title":"Payer Account Id","description":"The 12-digit AWS account id of the payer account SELECT reads spend for."},"s3_bucket":{"type":"string","title":"S3 Bucket","description":"The S3 bucket AWS delivers this payer account's Cost and Usage Report to."},"s3_prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Prefix","description":"Path within the bucket that the report is delivered under. Null when the report is delivered at the root of the bucket."},"region":{"type":"string","title":"Region","description":"The AWS region the bucket is in, such as `us-east-1`. SELECT reads the bucket through this region's S3 endpoint."},"sync_enabled":{"type":"boolean","title":"Sync Enabled","description":"Whether SELECT is currently syncing data for this account."},"added_by_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Added By Email","description":"Email address of the person who added the account. Null when it was not added by a person.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"last_successful_sync_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Successful Sync Time","description":"When SELECT last completed a sync for this account. Null before the first one succeeds.","readOnly":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the account was added.","readOnly":true,"x-terraform-computed":true},"update_time":{"type":"string","title":"Update Time","description":"When the account was last changed.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","etag","name","connection_id","payer_account_id","s3_bucket","region","sync_enabled","create_time","update_time"],"title":"AwsAccount","description":"A connection to one AWS payer account."},"AwsAccountCreate":{"properties":{"name":{"type":"string","title":"Name","description":"Display name for the account, as shown throughout SELECT."},"payer_account_id":{"type":"string","pattern":"^\\d{12}$","title":"Payer Account Id","description":"The 12-digit AWS account id of the payer account SELECT reads spend for."},"s3_bucket":{"type":"string","minLength":1,"title":"S3 Bucket","description":"The S3 bucket AWS delivers this payer account's Cost and Usage Report to."},"s3_prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Prefix","description":"Path within the bucket that the report is delivered under. Null when the report is delivered at the root of the bucket."},"region":{"type":"string","pattern":"^[a-z][a-z0-9-]+-\\d+$","title":"Region","description":"The AWS region the bucket is in, such as `us-east-1`. SELECT reads the bucket through this region's S3 endpoint."},"credentials":{"$ref":"#/components/schemas/AwsCredentials","description":"IAM credentials that can list and read the report objects under `s3_prefix`. SELECT verifies them against the bucket before the account is added."},"sync_enabled":{"type":"boolean","title":"Sync Enabled","description":"Whether SELECT starts syncing data for this account.","default":true}},"type":"object","required":["name","payer_account_id","s3_bucket","region","credentials"],"title":"AwsAccountCreate","description":"An AWS payer account to add."},"AwsAccountUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Display name for the account, as shown throughout SELECT."},"payer_account_id":{"anyOf":[{"type":"string","pattern":"^\\d{12}$"},{"type":"null"}],"title":"Payer Account Id","description":"The 12-digit AWS account id of the payer account SELECT reads spend for."},"s3_bucket":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"S3 Bucket","description":"The S3 bucket AWS delivers this payer account's Cost and Usage Report to."},"s3_prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Prefix","description":"Path within the bucket that the report is delivered under. Null when the report is delivered at the root of the bucket."},"region":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9-]+-\\d+$"},{"type":"null"}],"title":"Region","description":"The AWS region the bucket is in, such as `us-east-1`. SELECT reads the bucket through this region's S3 endpoint."},"credentials":{"anyOf":[{"$ref":"#/components/schemas/AwsCredentials"},{"type":"null"}],"description":"Replacement IAM credentials. Omit to keep the stored ones. SELECT verifies them against the bucket before they are saved."},"sync_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sync Enabled","description":"Whether SELECT is currently syncing data for this account."}},"type":"object","title":"AwsAccountUpdate","description":"Changes to apply to an AWS payer account.\n\nA JSON merge patch: omit a field to leave it unchanged. Only `s3_prefix` may\nbe set to null, which moves SELECT to reading the root of the bucket. Every\nother field is optional here only so it can be omitted; an explicit `null`\non one of them is rejected rather than silently ignored, since none of them\nhas a legal cleared state — an account with no name, no payer id, no bucket,\nno region or no credentials cannot ingest anything. Supplying `credentials`\nreplaces the stored key pair."},"AwsAccountValidationCheck":{"properties":{"id":{"type":"string","enum":["bucket_access","cur_manifest_discovery","manifest_read"],"title":"Id","description":"Identifies which check this is."},"label":{"type":"string","title":"Label","description":"Short human-readable name for the check."},"status":{"type":"string","enum":["passed","failed","skipped"],"title":"Status","description":"`passed`, `failed`, or `skipped`. A check is skipped when it does not apply, or when an earlier check failed and stopped the run."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"What to change when the check failed, or why it was skipped. Null when the check passed with nothing worth noting."},"docs_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Docs Link","description":"Link to the setup documentation covering what the check found. Null when no page addresses it specifically."}},"type":"object","required":["id","label","status"],"title":"AwsAccountValidationCheck","description":"One check SELECT runs against an account's configuration."},"AwsAccountValidationReport":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether every applicable check passed."},"checks":{"items":{"$ref":"#/components/schemas/AwsAccountValidationCheck"},"type":"array","title":"Checks","description":"The checks that ran, in the order they ran. Read top-down to find where setup stopped working."}},"type":"object","required":["success","checks"],"title":"AwsAccountValidationReport","description":"The result of validating an account's configuration against AWS."},"AwsCredentials":{"properties":{"access_key_id":{"type":"string","title":"Access Key Id","description":"Access key id of the IAM user SELECT authenticates as."},"secret_access_key":{"type":"string","title":"Secret Access Key","description":"Secret access key paired with `access_key_id`.","writeOnly":true,"x-doit-confidentiality":"sensitive","x-terraform-sensitive":true}},"type":"object","required":["access_key_id","secret_access_key"],"title":"AwsCredentials","description":"The IAM credentials SELECT reads an account's report with.\n\nWrite-only. A read never returns the secret access key; the credentials\nsub-resource reports the access key id so you can tell which key is in use."},"AwsCredentialsInfo":{"properties":{"access_key_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Key Id","description":"Access key id of the IAM user SELECT authenticates as. Null when no credentials have been configured for the account yet.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["access_key_id"],"title":"AwsCredentialsInfo","description":"Which IAM credentials an account authenticates with."},"BarListBlockConfig-Input":{"properties":{"query_class":{"type":"string","title":"Query Class"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"tooltip":{"type":"string","title":"Tooltip","default":""},"query_scope":{"$ref":"#/components/schemas/QueryScope","default":{"filters":[]}},"block_type":{"type":"string","const":"bar_list","title":"Block Type"},"display":{"$ref":"#/components/schemas/BarListDisplayConfig"}},"additionalProperties":false,"type":"object","required":["query_class","title","block_type","display"],"title":"BarListBlockConfig"},"BarListBlockConfig-Output":{"properties":{"query_class":{"type":"string","title":"Query Class"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"tooltip":{"type":"string","title":"Tooltip","default":""},"query_scope":{"$ref":"#/components/schemas/QueryScope","default":{"filters":[]}},"block_type":{"type":"string","const":"bar_list","title":"Block Type"},"display":{"$ref":"#/components/schemas/BarListDisplayConfig"}},"additionalProperties":false,"type":"object","required":["query_class","title","block_type","display"],"title":"BarListBlockConfig"},"BarListDisplayConfig":{"properties":{"metric":{"type":"string","title":"Metric"},"group_by":{"type":"string","title":"Group By"},"limit":{"type":"integer","title":"Limit","default":10}},"additionalProperties":false,"type":"object","required":["metric","group_by"],"title":"BarListDisplayConfig"},"BigNumberBlockConfig-Input":{"properties":{"query_class":{"type":"string","title":"Query Class"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"tooltip":{"type":"string","title":"Tooltip","default":""},"query_scope":{"$ref":"#/components/schemas/QueryScope","default":{"filters":[]}},"block_type":{"type":"string","const":"big_number","title":"Block Type"},"display":{"$ref":"#/components/schemas/BigNumberDisplayConfig"}},"additionalProperties":false,"type":"object","required":["query_class","title","block_type","display"],"title":"BigNumberBlockConfig"},"BigNumberBlockConfig-Output":{"properties":{"query_class":{"type":"string","title":"Query Class"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"tooltip":{"type":"string","title":"Tooltip","default":""},"query_scope":{"$ref":"#/components/schemas/QueryScope","default":{"filters":[]}},"block_type":{"type":"string","const":"big_number","title":"Block Type"},"display":{"$ref":"#/components/schemas/BigNumberDisplayConfig"}},"additionalProperties":false,"type":"object","required":["query_class","title","block_type","display"],"title":"BigNumberBlockConfig"},"BigNumberDisplayConfig":{"properties":{"metric":{"type":"string","title":"Metric"},"previous_period_comparison":{"type":"string","enum":["none","value","value_and_percentage"],"title":"Previous Period Comparison","default":"none"}},"additionalProperties":false,"type":"object","required":["metric"],"title":"BigNumberDisplayConfig"},"BigQueryConnection":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the connection.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for this connection's configuration. Matches the `ETag` response header, and is what `If-Match` requires on a write. It changes whenever a configurable field on the connection changes.","readOnly":true,"x-terraform-computed":true},"name":{"type":"string","title":"Name","description":"Display name for the connection, as shown throughout SELECT."},"gcp_project_id":{"type":"string","title":"Gcp Project Id","description":"The GCP project SELECT reads BigQuery usage and spend from."},"bigquery_dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bigquery Dataset Id","description":"The BigQuery dataset holding the project's billing and pricing exports. Null when `is_doit` is true, since SELECT reads DoiT's export rather than one in your own dataset."},"billing_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Account Id","description":"The Cloud Billing account the exports belong to, in `XXXXXX-XXXXXX-XXXXXX` form. Null when `is_doit` is true."},"service_account":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Account","description":"The GCP service account SELECT impersonates to reach the project. Null for a connection SELECT reaches without impersonation."},"gcp_organization_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcp Organization Id","description":"Numeric id of the GCP organization the project belongs to. Null for a standalone project, or when SELECT cannot read the project's ancestry.","readOnly":true,"x-terraform-computed":true},"gcp_organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcp Organization Name","description":"Display name of the GCP organization the project belongs to. Null when the name cannot be read even though the id resolved.","readOnly":true,"x-terraform-computed":true},"regions":{"items":{"type":"string"},"type":"array","title":"Regions","description":"The BigQuery regions SELECT detected query activity in. Empty until the first successful detection.","readOnly":true,"x-terraform-computed":true},"is_doit":{"type":"boolean","title":"Is Doit","description":"Whether this project's GCP billing account is managed by DoiT as a resale customer, so SELECT reads its spend from DoiT's billing data rather than from an export in your own dataset.","readOnly":true,"x-terraform-computed":true},"doit_billing_status":{"anyOf":[{"type":"string","enum":["active","pending","inactive"]},{"type":"null"}],"title":"Doit Billing Status","description":"Whether SELECT can read this connection's spend from DoiT's billing data. `pending` while SELECT confirms access, `active` once spend is flowing, and `inactive` if it cannot be read — contact support. Null when `is_doit` is false.","readOnly":true,"x-terraform-computed":true},"connection_id":{"type":"string","title":"Connection Id","description":"Identifier of the underlying connection this BigQuery project reads through.","readOnly":true,"x-terraform-computed":true},"sync_enabled":{"type":"boolean","title":"Sync Enabled","description":"Whether SELECT is currently syncing data for this connection."},"query_sanitization_enabled":{"type":"boolean","title":"Query Sanitization Enabled","description":"Whether query text is sanitized before SELECT stores it."},"added_by_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Added By Email","description":"Email address of the person who added the connection. Null when it was not added by a person.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"last_successful_sync_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Successful Sync Time","description":"When SELECT last completed a sync for this connection. Null before the first one succeeds.","readOnly":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the connection was added.","readOnly":true,"x-terraform-computed":true},"update_time":{"type":"string","title":"Update Time","description":"When the connection was last changed.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","etag","name","gcp_project_id","regions","is_doit","connection_id","sync_enabled","query_sanitization_enabled","create_time","update_time"],"title":"BigQueryConnection","description":"A connection to one BigQuery project."},"BigQueryConnectionCheckEvent":{"properties":{"event":{"type":"string","const":"check","title":"Event","default":"check"},"id":{"type":"string","enum":["connectivity","project_access","regions","jobs","billing_export","pricing_export","bucket_write","organization"],"title":"Id","description":"Identifies which check this is."},"label":{"type":"string","title":"Label","description":"Short human-readable name for the check."},"status":{"type":"string","enum":["running","passed","failed","skipped"],"title":"Status","description":"The check's current state."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"What to change if the check has failed, or why it was skipped. Null otherwise."},"docs_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Docs Link","description":"Link to the setup documentation covering what the check found. Null when no page addresses it specifically."}},"type":"object","required":["id","label","status"],"title":"BigQueryConnectionCheckEvent","description":"One check transitioning through its lifecycle, as it happens."},"BigQueryConnectionCreate":{"properties":{"name":{"type":"string","title":"Name","description":"Display name for the connection, as shown throughout SELECT."},"gcp_project_id":{"type":"string","pattern":"^[a-z][a-z0-9-]{4,28}[a-z0-9]$","title":"Gcp Project Id","description":"The GCP project to read BigQuery usage and spend from. 6-30 characters, starting with a lowercase letter, made up of lowercase letters, digits and hyphens, and not ending in a hyphen."},"bigquery_dataset_id":{"anyOf":[{"type":"string","pattern":"^[a-zA-Z0-9_]{1,1024}$"},{"type":"null"}],"title":"Bigquery Dataset Id","description":"The BigQuery dataset holding the project's billing and pricing exports. Letters, digits and underscores only. Required when `is_doit` is false, and must be omitted when it is true."},"billing_account_id":{"anyOf":[{"type":"string","pattern":"^[0-9A-Fa-f]{6}-[0-9A-Fa-f]{6}-[0-9A-Fa-f]{6}$"},{"type":"null"}],"title":"Billing Account Id","description":"The Cloud Billing account the exports belong to, in `XXXXXX-XXXXXX-XXXXXX` form, case-insensitive. Required when `is_doit` is false, and must be omitted when it is true."},"service_account":{"type":"string","pattern":"^[a-z][a-z0-9-]{4,28}[a-z0-9]@[a-z][a-z0-9-]{4,28}[a-z0-9]\\.iam\\.gserviceaccount\\.com$","title":"Service Account","description":"The GCP service account SELECT impersonates to reach the project, in `name@project-id.iam.gserviceaccount.com` form."},"is_doit":{"type":"boolean","title":"Is Doit","description":"Set this when the project's GCP billing account is managed by DoiT as a resale customer, so SELECT reads its spend from DoiT's billing data. SELECT confirms access before spend can be read, so the connection is created with a `doit_billing_status` of `pending`; re-read it to see when it becomes `active`. Requires a user credential rather than an API key, and cannot be changed once the connection is added.","default":false},"sync_enabled":{"type":"boolean","title":"Sync Enabled","description":"Whether SELECT starts syncing data for this connection.","default":true},"query_sanitization_enabled":{"type":"boolean","title":"Query Sanitization Enabled","description":"Whether query text is sanitized before SELECT stores it.","default":false}},"type":"object","required":["name","gcp_project_id","service_account"],"title":"BigQueryConnectionCreate","description":"A BigQuery connection to add."},"BigQueryConnectionUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Display name for the connection, as shown throughout SELECT."},"gcp_project_id":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9-]{4,28}[a-z0-9]$"},{"type":"null"}],"title":"Gcp Project Id","description":"The GCP project to read BigQuery usage and spend from. 6-30 characters, starting with a lowercase letter, made up of lowercase letters, digits and hyphens, and not ending in a hyphen."},"bigquery_dataset_id":{"anyOf":[{"type":"string","pattern":"^[a-zA-Z0-9_]{1,1024}$"},{"type":"null"}],"title":"Bigquery Dataset Id","description":"The BigQuery dataset holding the project's billing and pricing exports. Letters, digits and underscores only. Must be omitted on a DoiT-managed connection, and cannot be cleared with `null` on any other."},"billing_account_id":{"anyOf":[{"type":"string","pattern":"^[0-9A-Fa-f]{6}-[0-9A-Fa-f]{6}-[0-9A-Fa-f]{6}$"},{"type":"null"}],"title":"Billing Account Id","description":"The Cloud Billing account the exports belong to, in `XXXXXX-XXXXXX-XXXXXX` form, case-insensitive. Must be omitted on a DoiT-managed connection, and cannot be cleared with `null` on any other."},"service_account":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9-]{4,28}[a-z0-9]@[a-z][a-z0-9-]{4,28}[a-z0-9]\\.iam\\.gserviceaccount\\.com$"},{"type":"null"}],"title":"Service Account","description":"The GCP service account SELECT impersonates to reach the project, in `name@project-id.iam.gserviceaccount.com` form."},"sync_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sync Enabled","description":"Whether SELECT syncs data for this connection."},"query_sanitization_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Query Sanitization Enabled","description":"Whether query text is sanitized before SELECT stores it."}},"type":"object","title":"BigQueryConnectionUpdate","description":"A merge-patch update to an existing BigQuery connection: an omitted\nfield is left unchanged, and `null` clears it.\n\nEvery field mirrors its `BigQueryConnectionCreate` counterpart. `is_doit`\ncannot be changed once the connection is added, so it has no counterpart\nhere."},"BigQueryConnectionValidationCheck":{"properties":{"id":{"type":"string","enum":["connectivity","project_access","regions","jobs","billing_export","pricing_export","bucket_write","organization"],"title":"Id","description":"Identifies which check this is."},"label":{"type":"string","title":"Label","description":"Short human-readable name for the check."},"status":{"type":"string","enum":["passed","failed","skipped"],"title":"Status","description":"`passed`, `failed`, or `skipped`. A check is skipped when it does not apply, or when an earlier check failed and stopped the run."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"What to change when the check failed, or why it was skipped. Null when the check passed with nothing worth noting."},"docs_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Docs Link","description":"Link to the setup documentation covering what the check found. Null when no page addresses it specifically."}},"type":"object","required":["id","label","status"],"title":"BigQueryConnectionValidationCheck","description":"One check SELECT runs against a connection's configuration."},"BigQueryConnectionValidationReport":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether every applicable check passed."},"checks":{"items":{"$ref":"#/components/schemas/BigQueryConnectionValidationCheck"},"type":"array","title":"Checks","description":"The checks that ran, in the order they ran. Read top-down to find where setup stopped working."}},"type":"object","required":["success","checks"],"title":"BigQueryConnectionValidationReport","description":"The result of validating a connection's configuration against BigQuery."},"Block":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"dashboard_id":{"type":"string","format":"uuid","title":"Dashboard Id"},"config":{"oneOf":[{"$ref":"#/components/schemas/BigNumberBlockConfig-Output"},{"$ref":"#/components/schemas/ChartBlockConfig-Output"},{"$ref":"#/components/schemas/BarListBlockConfig-Output"},{"$ref":"#/components/schemas/TableBlockConfig-Output"},{"$ref":"#/components/schemas/FeedBlockConfig-Output"},{"$ref":"#/components/schemas/TextBlockConfig"},{"$ref":"#/components/schemas/EntityCardBlockConfig"}],"title":"Config","discriminator":{"propertyName":"block_type","mapping":{"bar_list":"#/components/schemas/BarListBlockConfig-Output","big_number":"#/components/schemas/BigNumberBlockConfig-Output","chart":"#/components/schemas/ChartBlockConfig-Output","entity_card":"#/components/schemas/EntityCardBlockConfig","feed":"#/components/schemas/FeedBlockConfig-Output","table":"#/components/schemas/TableBlockConfig-Output","text":"#/components/schemas/TextBlockConfig"}}}},"type":"object","required":["id","dashboard_id","config"],"title":"Block"},"BlockIn":{"properties":{"config":{"oneOf":[{"$ref":"#/components/schemas/BigNumberBlockConfig-Input"},{"$ref":"#/components/schemas/ChartBlockConfig-Input"},{"$ref":"#/components/schemas/BarListBlockConfig-Input"},{"$ref":"#/components/schemas/TableBlockConfig-Input"},{"$ref":"#/components/schemas/FeedBlockConfig-Input"},{"$ref":"#/components/schemas/TextBlockConfig"},{"$ref":"#/components/schemas/EntityCardBlockConfig"}],"title":"Config","discriminator":{"propertyName":"block_type","mapping":{"bar_list":"#/components/schemas/BarListBlockConfig-Input","big_number":"#/components/schemas/BigNumberBlockConfig-Input","chart":"#/components/schemas/ChartBlockConfig-Input","entity_card":"#/components/schemas/EntityCardBlockConfig","feed":"#/components/schemas/FeedBlockConfig-Input","table":"#/components/schemas/TableBlockConfig-Input","text":"#/components/schemas/TextBlockConfig"}}},"position":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AppendRowPosition"},{"$ref":"#/components/schemas/FreeformBlockPosition"}],"discriminator":{"propertyName":"kind","mapping":{"append_row":"#/components/schemas/AppendRowPosition","freeform":"#/components/schemas/FreeformBlockPosition"}}},{"type":"null"}],"title":"Position"}},"type":"object","required":["config"],"title":"BlockIn"},"BudgetCreate":{"properties":{"name":{"type":"string","title":"Name"},"amount":{"type":"number","title":"Amount","description":"The spend threshold for one period."},"team_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id","description":"The team to scope this budget to. Null scopes it to the whole organization. Requires permission to write budgets in that scope."},"period":{"oneOf":[{"$ref":"#/components/schemas/FixedRangeSchedule"},{"$ref":"#/components/schemas/RecurringSchedule"},{"$ref":"#/components/schemas/CustomSchedule"}],"title":"Period","description":"The recurrence or date range the budget's threshold applies over.","discriminator":{"propertyName":"schedule_type","mapping":{"custom":"#/components/schemas/CustomSchedule","fixed_range":"#/components/schemas/FixedRangeSchedule","monthly":"#/components/schemas/RecurringSchedule","quarterly":"#/components/schemas/RecurringSchedule","weekly":"#/components/schemas/RecurringSchedule","yearly":"#/components/schemas/RecurringSchedule"}}},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At","description":"When the budget takes effect. Defaults to the time it is created."},"filter_expression":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input"},{"type":"null"}],"description":"Narrows which spend counts toward the budget. Null counts all spend. Use exactly one of `filter_expression` or `filter_expression_json`."},"filter_expression_json":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter Expression Json","description":"A JSON string representation of the filter expression. This is primarily used for Terraform provider support. Use exactly one of `filter_expression` or `filter_expression_json`. This value is validated in the same manner as `filter_expression`."}},"additionalProperties":false,"type":"object","required":["name","amount","period"],"title":"BudgetCreate","description":"A budget to create."},"BudgetDimensionName":{"type":"string","enum":["id","name","amount","status","spend","forecast","frequency","current_period_start","current_period_end","end_date","team_id","started_at","created_at","updated_at","created_by","updated_by","budget_progress","forecast_diff"],"title":"BudgetDimensionName"},"BudgetMeasureName":{"type":"string","enum":["count"],"title":"BudgetMeasureName"},"BudgetPatch":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount","description":"The spend threshold for one period."},"team_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id","description":"The team this budget is scoped to. Null scopes it to the whole organization."},"period":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/FixedRangeSchedule"},{"$ref":"#/components/schemas/RecurringSchedule"},{"$ref":"#/components/schemas/CustomSchedule"}],"discriminator":{"propertyName":"schedule_type","mapping":{"custom":"#/components/schemas/CustomSchedule","fixed_range":"#/components/schemas/FixedRangeSchedule","monthly":"#/components/schemas/RecurringSchedule","quarterly":"#/components/schemas/RecurringSchedule","weekly":"#/components/schemas/RecurringSchedule","yearly":"#/components/schemas/RecurringSchedule"}}},{"type":"null"}],"title":"Period","description":"The recurrence or date range the budget's threshold applies over."},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At","description":"When the budget takes effect."},"filter_expression":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input"},{"type":"null"}],"description":"Narrows which spend counts toward the budget. Null counts all spend. Use exactly one of `filter_expression` or `filter_expression_json`."},"filter_expression_json":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter Expression Json","description":"A JSON string representation of the filter expression. This is primarily used for Terraform provider support. Use exactly one of `filter_expression` or `filter_expression_json`. This value is validated in the same manner as `filter_expression`."}},"additionalProperties":false,"type":"object","title":"BudgetPatch","description":"Changes to apply to a budget.\n\nAn omitted field is left unchanged; an explicit null clears `team_id` or\n`filter_expression`. Moving a budget between scopes requires permission to\nwrite budgets in the scope it leaves and the one it joins."},"BudgetQuery":{"properties":{"measures":{"items":{"$ref":"#/components/schemas/BudgetMeasureName"},"type":"array","title":"Measures"},"dimensions":{"items":{"$ref":"#/components/schemas/BudgetDimensionName"},"type":"array","title":"Dimensions"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/InFilter_BudgetDimensionName_"},{"$ref":"#/components/schemas/IsFilter_BudgetDimensionName_"},{"$ref":"#/components/schemas/LikeFilter_BudgetDimensionName_"},{"$ref":"#/components/schemas/MultiLikeFilter_BudgetDimensionName_"},{"$ref":"#/components/schemas/EqFilter_BudgetDimensionName_"},{"$ref":"#/components/schemas/FilterExpression_BudgetDimensionName_"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_BudgetDimensionName_"}]},"type":"array","title":"Filters"},"filter_expression":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_BudgetDimensionName_"},{"type":"null"}]},"measure_filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/InFilter_BudgetMeasureName_"},{"$ref":"#/components/schemas/IsFilter_BudgetMeasureName_"},{"$ref":"#/components/schemas/LikeFilter_BudgetMeasureName_"},{"$ref":"#/components/schemas/MultiLikeFilter_BudgetMeasureName_"},{"$ref":"#/components/schemas/EqFilter_BudgetMeasureName_"},{"$ref":"#/components/schemas/FilterExpression_BudgetMeasureName_"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_BudgetMeasureName_"}]},"type":"array","title":"Measure Filters"},"sort":{"items":{"$ref":"#/components/schemas/Sort_BudgetMeasureName_BudgetDimensionName_"},"type":"array","title":"Sort"},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Limit","description":"Maximum rows to return, at most 10000. An aggregation that produces more rows than this is silently cut short at the limit, so narrow the filters or group by fewer dimensions rather than raising it to see everything.","default":10000}},"additionalProperties":false,"type":"object","title":"BudgetQuery","description":"An aggregate query over budgets.\n\nGroup with `dimensions`, aggregate with `measures`, narrow rows with `filters`\nor `filter_expression`, and narrow aggregates with `measure_filters`. To restrict\nresults to a team, filter on the `team_id` dimension."},"BudgetQueryResults":{"properties":{"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"BudgetQueryResults","description":"Aggregated budget rows, each keyed by the requested dimensions and measures."},"BudgetSpendSummaryV2":{"properties":{"budget_id":{"type":"string","title":"Budget Id","description":"The budget this summary is for.","readOnly":true,"x-terraform-computed":true},"spend":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Spend","description":"Spend so far in the current period, counting only days that have finished loading. Null before the budget's first refresh.","readOnly":true,"x-terraform-computed":true},"forecast":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Forecast","description":"Projected total spend by the end of the current period, extrapolated from the budget's recent daily spend. Null before the first refresh, when there is too little history to project from, or once the period has ended.","readOnly":true,"x-terraform-computed":true},"forecast_diff":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Forecast Diff","description":"How far `forecast` lands from the budget's threshold, as a percentage of it — positive over, negative under. Null when there is no forecast, or the threshold is zero.","readOnly":true,"x-terraform-computed":true},"period_start":{"type":"string","format":"date","title":"Period Start","description":"The first day of the period these figures cover.","readOnly":true,"x-terraform-computed":true},"period_end":{"type":"string","format":"date","title":"Period End","description":"The last day of the period these figures cover.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["budget_id","period_start","period_end"],"title":"BudgetSpendSummary","description":"What a budget has spent so far this period, and where it is heading.\n\nRefreshed once a day, on the same cadence as the budget's `status`. Only days\nthat have finished loading count toward `spend`, and a day only finishes once,\nso these figures step forward daily rather than continuously. Null until the\nfirst refresh after the budget is created — evaluate the budget to fill them in\nwithout waiting for the next one."},"BudgetV2":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the budget.","readOnly":true,"x-terraform-computed":true},"name":{"type":"string","title":"Name"},"amount":{"type":"number","title":"Amount","description":"The spend threshold for one period."},"status":{"anyOf":[{"type":"string","enum":["on_track","at_risk","overspending","expired"]},{"type":"null"}],"title":"Status","description":"The budget's current standing against its spend threshold. Measured by a daily refresh, or on demand by evaluating the budget. Null until one of those has run: creating or changing a budget does not measure it, and changing what it measures clears it again.","readOnly":true,"x-terraform-computed":true},"team_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id","description":"The team this budget is scoped to. Null scopes it to the whole organization."},"period":{"oneOf":[{"$ref":"#/components/schemas/FixedRangeSchedule"},{"$ref":"#/components/schemas/RecurringSchedule"},{"$ref":"#/components/schemas/CustomSchedule"}],"title":"Period","description":"The recurrence or date range the budget's threshold applies over.","discriminator":{"propertyName":"schedule_type","mapping":{"custom":"#/components/schemas/CustomSchedule","fixed_range":"#/components/schemas/FixedRangeSchedule","monthly":"#/components/schemas/RecurringSchedule","quarterly":"#/components/schemas/RecurringSchedule","weekly":"#/components/schemas/RecurringSchedule","yearly":"#/components/schemas/RecurringSchedule"}}},"started_at":{"type":"string","title":"Started At"},"filter_expression":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output"},{"type":"null"}],"description":"Narrows which spend counts toward the budget. Null counts all spend."},"filter_expression_json":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter Expression Json","description":"The JSON string representation of the filter expression, used by the Terraform provider. Null when the budget has no filter.","readOnly":true,"x-terraform-computed":true},"current_period_start":{"type":"string","format":"date","title":"Current Period Start","description":"The start date of the period the budget is currently in.","readOnly":true,"x-terraform-computed":true},"current_period_end":{"type":"string","format":"date","title":"Current Period End","description":"The end date of the period the budget is currently in.","readOnly":true,"x-terraform-computed":true},"budget_end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Budget End Date","description":"When the budget itself expires. Null if it never does.","readOnly":true,"x-terraform-computed":true},"created_by":{"type":"string","title":"Created By","description":"Who created the budget.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By","description":"Who last changed the budget. Null if no one has since it was created.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"RFC 3339 UTC creation timestamp.","readOnly":true,"x-terraform-computed":true},"update_time":{"type":"string","title":"Update Time","description":"RFC 3339 UTC last-update timestamp.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","name","amount","period","started_at","current_period_start","current_period_end","created_by","create_time","update_time","etag"],"title":"Budget","description":"A spend threshold over a recurring or fixed period.\n\nA budget compares actual and forecasted spend against `amount` for its\ncurrent period, optionally narrowed to a team and to a slice of spend via\n`filter_expression`. The period dates are derived from `period` as the budget\nis read, so they always describe the period it is in now. `status` is measured\nagainst spend instead, on the cadence its own description gives."},"BulkUpdateMembershipsV2":{"properties":{"email_addresses":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Email Addresses","description":"Users, by email, whose explicit team memberships are being set. Each user's existing explicit memberships across all teams are replaced by those in this request.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"team_memberships":{"items":{"$ref":"#/components/schemas/TeamMembershipUpdateV2"},"type":"array","maxItems":100,"minItems":0,"title":"Team Memberships","description":"The teams each listed user should explicitly belong to, and the role to grant on each. Any team not listed is removed from every listed user's explicit memberships. An empty list removes every listed user from all of their explicit team memberships."}},"additionalProperties":false,"type":"object","required":["email_addresses","team_memberships"],"title":"BulkUpdateMembershipsV2"},"BulkUpdateUserRolesV2":{"properties":{"email_addresses":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Email Addresses","description":"Users, by email, whose direct role grants are being set. Each user's existing direct role grants are replaced by those in this request. An address need not belong to an existing member — granting to an invited address takes effect on their first sign-in.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"roles":{"items":{"$ref":"#/components/schemas/UserRoleGrantCreateV2"},"type":"array","maxItems":100,"minItems":0,"title":"Roles","description":"The roles every listed user should directly hold, each with the scope it applies to. Applied identically to every listed user. An empty list clears every listed user's direct role grants."}},"additionalProperties":false,"type":"object","required":["email_addresses","roles"],"title":"BulkUpdateUserRolesV2"},"ChartBlockConfig-Input":{"properties":{"query_class":{"type":"string","title":"Query Class"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"tooltip":{"type":"string","title":"Tooltip","default":""},"query_scope":{"$ref":"#/components/schemas/QueryScope","default":{"filters":[]}},"block_type":{"type":"string","const":"chart","title":"Block Type"},"display":{"$ref":"#/components/schemas/ChartDisplayConfig"}},"additionalProperties":false,"type":"object","required":["query_class","title","block_type","display"],"title":"ChartBlockConfig"},"ChartBlockConfig-Output":{"properties":{"query_class":{"type":"string","title":"Query Class"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"tooltip":{"type":"string","title":"Tooltip","default":""},"query_scope":{"$ref":"#/components/schemas/QueryScope","default":{"filters":[]}},"block_type":{"type":"string","const":"chart","title":"Block Type"},"display":{"$ref":"#/components/schemas/ChartDisplayConfig"}},"additionalProperties":false,"type":"object","required":["query_class","title","block_type","display"],"title":"ChartBlockConfig"},"ChartDisplayConfig":{"properties":{"chart_type":{"type":"string","title":"Chart Type"},"metric":{"type":"string","title":"Metric"},"group_by":{"type":"string","title":"Group By","default":"None"},"legend_type":{"type":"string","title":"Legend Type","default":"None"},"selected_action_types":{"items":{"$ref":"#/components/schemas/ActionTypeKey"},"type":"array","title":"Selected Action Types"}},"additionalProperties":false,"type":"object","required":["chart_type","metric"],"title":"ChartDisplayConfig"},"CodeChange":{"properties":{"new_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Code","description":"The rewritten query. Null when no rewrite is being suggested: either the optimization does not apply to this query, or no rewrite was found that improves it."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"What the rewrite changes, where the change needs explaining."},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id","description":"Identifier for this generation. Quote it when reporting a problem with the suggested rewrite."}},"type":"object","title":"CodeChange","description":"A suggested rewrite of a query."},"CodeChangeRequest":{"properties":{"query_id":{"type":"string","title":"Query Id","description":"The Snowflake query id of the query to rewrite. The query must have run in the last 14 days for its execution profile to still be available."},"query_insight_type":{"type":"string","enum":["query-pruning","incremental-query-pruning","incrementalize-dbt-query","incrementalize-ctas-query","inefficient-cortex-function-usage"],"title":"Query Insight Type","description":"Which optimization opportunity to generate a rewrite for."}},"additionalProperties":false,"type":"object","required":["query_id","query_insight_type"],"title":"CodeChangeRequest","description":"The query to optimize, and which of its opportunities to act on."},"Connection":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the connection.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for this connection's configuration. Matches the `ETag` response header, and is what `If-Match` requires on a write. It changes whenever a configurable field on the connection changes.","readOnly":true,"x-terraform-computed":true},"name":{"type":"string","title":"Name","description":"Display name for the connection, as shown throughout SELECT."},"connection_type":{"type":"string","enum":["snowflake","tableau","databricks","bigquery","aws","azure"],"title":"Connection Type","description":"The data platform this connection reads from. Fixed when the connection is added; a connection cannot be moved to another platform.","readOnly":true,"x-terraform-computed":true},"sync_enabled":{"type":"boolean","title":"Sync Enabled","description":"Whether SELECT is currently syncing data for this connection."},"query_sanitization_enabled":{"type":"boolean","title":"Query Sanitization Enabled","description":"Whether query text is sanitized before SELECT stores it."},"looker_base_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Looker Base Url","description":"Base URL of the Looker instance to query."},"looker_client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Looker Client Id","description":"Identifier of the Looker API client SELECT uses."},"looker_credentials_configured":{"type":"boolean","title":"Looker Credentials Configured","description":"Whether Looker credentials are configured for this connection. The credentials themselves are never returned.","readOnly":true,"x-terraform-computed":true},"added_by_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Added By Email","description":"Email address of the person who added the connection. Null when it was not added by a person.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"last_successful_sync_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Successful Sync Time","description":"When SELECT last completed a sync for this connection. Null before the first one succeeds.","readOnly":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the connection was added.","readOnly":true,"x-terraform-computed":true},"update_time":{"type":"string","title":"Update Time","description":"When the connection was last changed.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","etag","name","connection_type","sync_enabled","query_sanitization_enabled","looker_credentials_configured","create_time","update_time"],"title":"Connection","description":"A connection between SELECT and one data platform."},"ConnectionLookerTest":{"properties":{"looker_base_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Looker Base Url","description":"Base URL of the Looker instance to query."},"looker_client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Looker Client Id","description":"Identifier of the Looker API client SELECT uses."},"looker_client_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Looker Client Secret","description":"The Looker API client secret.","writeOnly":true,"x-doit-confidentiality":"sensitive","x-terraform-sensitive":true}},"type":"object","title":"ConnectionLookerTest","description":"Looker credentials to test against an existing connection, without\npersisting them. Any field left out falls back to the connection's\ncurrently stored Looker configuration, so an empty body re-tests what's\nsaved and a partial body tests a candidate change before it's written via\na PATCH."},"ConnectionUpdate":{"properties":{"looker_base_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Looker Base Url","description":"Base URL of the Looker instance to query."},"looker_client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Looker Client Id","description":"Identifier of the Looker API client SELECT uses."},"looker_client_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Looker Client Secret","description":"The Looker API client secret. Cannot be cleared with null; disconnect Looker with `looker_base_url: null` instead.","writeOnly":true,"x-doit-confidentiality":"sensitive","x-terraform-sensitive":true}},"type":"object","title":"ConnectionUpdate","description":"A merge-patch update to an existing connection. Omitted fields are left\nunchanged; `null` clears a field.\n\nOnly Looker fields can be updated here. `name`, `sync_enabled`, and\n`query_sanitization_enabled` are updated through the platform-specific\nresource instead (e.g. `PATCH /v2/snowflake-accounts`).\n\n`looker_client_secret` cannot be cleared on its own, since it's only\nmeaningful together with `looker_base_url` and `looker_client_id`. To\ndisconnect Looker entirely, set `looker_base_url` to `null`, which clears\nall three fields together."},"ConnectionValidationCheck":{"properties":{"id":{"type":"string","const":"looker_bi","title":"Id","description":"Identifies which check this is."},"label":{"type":"string","title":"Label","description":"Short human-readable name for the check."},"status":{"type":"string","enum":["passed","failed","skipped"],"title":"Status","description":"`passed`, `failed`, or `skipped`. A check is skipped when it does not apply, or when an earlier check failed and stopped the run."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"What to change when the check failed, or why it was skipped. Null when the check passed with nothing worth noting."}},"type":"object","required":["id","label","status"],"title":"ConnectionValidationCheck","description":"One check SELECT runs against a connection's configuration."},"ConnectionValidationReport":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether every applicable check passed."},"checks":{"items":{"$ref":"#/components/schemas/ConnectionValidationCheck"},"type":"array","title":"Checks","description":"The checks that ran, in the order they ran. Read top-down to find where setup stopped working."}},"type":"object","required":["success","checks"],"title":"ConnectionValidationReport","description":"The result of validating a connection's configuration."},"ConsolidatedDailySpendDimensions":{"type":"string","enum":["snowflake_account_name","snowflake_org_name","usage_group","databricks_account_id","databricks_workspace_id","databricks_workspace_name","databricks_sku_name","databricks_billing_origin_product","connection_id","account_metadata","connection_type","platform_organization","bigquery_reservation_labels_map","bigquery_reservation_labels","bigquery_organization","bigquery_billing_export_project","bigquery_billing_account","region","bigquery_edition","bigquery_statement_type","bigquery_job_type","bigquery_pricing_model","bigquery_principal_subject","bigquery_priority","bigquery_job_id","bigquery_query_dialect","bigquery_state","bigquery_error_reason","bigquery_admin_project_id","bigquery_query_pattern_id","bigquery_billed_project","bigquery_query_project","bigquery_job_labels_map","bigquery_storage_project","bigquery_storage_dataset","bigquery_storage_project_dataset","bigquery_storage_billing_model","bigquery_storage_class","bigquery_storage_attribution","platform_instance","platform_instance_name","bigquery_resource_type","bigquery_source_type","bigquery_reservation_id","account_locator","service_level","managed_by","day","day_of_week","day_of_month","quarter","week","month","resource_type","nice_resource_type","account_name","account_name_and_warehouse","usage_type","account_name_and_usage_type","user_name","role_name","warehouse_name","warehouse_size","identifying_metadata","database_name","schema_name","database_schema_name","task_database_name","task_database_schema_name","task_fully_qualified_name","stored_procedure_database_name","stored_procedure_database_schema_name","stored_procedure_fully_qualified_name","dynamic_table_database_name","dynamic_table_database_schema_name","dynamic_table_fully_qualified_name","cortex_agent_database_name","cortex_agent_database_schema_name","cortex_agent_fully_qualified_name","cortex_function_models","snowpipe_database_name","snowpipe_database_schema_name","snowpipe_fully_qualified_name","snowpipe_streaming_database_name","snowpipe_streaming_database_schema_name","snowpipe_streaming_fully_qualified_name","usage_group_metadata","dbt_target_database_schema_name","dbt_resource_database_schema_name","dbt_node_tags","snowflake_intelligence_instance","compute_pool_name","application_name","fivetran_database_schema_name","custom_workload_app_workload_id","query_type","databricks_compute_type","databricks_is_serverless","databricks_is_photon","databricks_jobs_tier","databricks_sql_tier","databricks_dlt_tier","databricks_warehouse_id","databricks_cluster_id","databricks_job_name","databricks_sql_warehouse_name","databricks_cluster_name","databricks_pipeline_name","databricks_node_type","databricks_run_as","databricks_run_as_is_unresolved","databricks_created_by","databricks_owned_by","databricks_budget_policy_id","databricks_model_serving_endpoint_id","databricks_model_serving_endpoint_name","databricks_app_name","databricks_database_instance_id","databricks_storage_api_type","databricks_networking_client","databricks_networking_associated_product","databricks_networking_recipient_id","databricks_networking_destination_region","databricks_networking_source_region","databricks_networking_private_endpoint_name","databricks_usage_type","databricks_notebook_path","databricks_data_quality_monitoring_table_id","databricks_data_quality_monitoring_schema_id","databricks_base_environment_id","databricks_data_classification_catalog_id","databricks_lakebase_endpoint_id","databricks_lakebase_branch_id","databricks_lakebase_project_id","databricks_data_sharing_materialization_id","databricks_lakeflow_connect_table_id","databricks_foundation_model_training_run_name","databricks_genie_surface","databricks_genie_agent_id","databricks_compute_resource_data","databricks_compute_resource_name","databricks_compute_size","databricks_warehouse_tags","databricks_warehouse_tags_map","databricks_cluster_tags","databricks_cluster_tags_map","databricks_job_tags","databricks_job_tags_map","databricks_pipeline_tags","databricks_pipeline_tags_map","databricks_query_tags_map","spend","is_adjustment","base_databases_accessed","base_schemas_accessed","base_tables_accessed","base_tables_accessed_csv","databases_modified","schemas_modified","tables_modified","tables_modified_csv","warehouse_tags","warehouse_tags_map","user_tags","user_tags_map","role_tags","role_tags_map","database_tags","database_tags_map","object_database_tags","object_database_tags_map","object_schema_tags","object_schema_tags_map","object_name_tags","object_name_tags_map","object_level_tags","object_level_tags_map"]},"CustomSchedule":{"properties":{"schedule_type":{"type":"string","const":"custom","title":"Schedule Type"},"start_date":{"type":"string","format":"date","title":"Start Date"},"repeat_every":{"type":"integer","minimum":1.0,"title":"Repeat Every"},"repeat_unit":{"type":"string","enum":["days","weeks","months","quarters","years"],"title":"Repeat Unit"},"expires_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Expires On"},"expires_after_occurrences":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires After Occurrences"}},"type":"object","required":["schedule_type","start_date","repeat_every","repeat_unit"],"title":"CustomSchedule"},"DailyActionSavingsDimensions":{"type":"string","enum":["day","day_of_week","day_of_month","quarter","week","month","action_id","calculation_method","team_id","is_calibrating"]},"DailyActionSavingsMeasures":{"type":"string","enum":["sum_savings","sum_daily_spend","sum_tgs_savings","count_days","avg_daily_savings","cumulative_savings","sum_apc_downscale_savings","sum_apc_cap_savings","sum_jcss_downscale_savings","sum_jcss_cap_savings"]},"DashboardCreate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"visibility":{"type":"string","enum":["private","team","public"],"title":"Visibility","default":"private"},"status":{"type":"string","enum":["draft","published"],"title":"Status","default":"published"},"team_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id"},"layout":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Layout"},"filters":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Filters"},"date_range":{"anyOf":[{"$ref":"#/components/schemas/DateRange"},{"type":"null"}]},"time_grain":{"anyOf":[{"type":"string","enum":["day","week","month"]},{"type":"null"}],"title":"Time Grain"},"freeform_layout":{"anyOf":[{"items":{"$ref":"#/components/schemas/FreeformLayoutItem"},"type":"array"},{"type":"null"}],"title":"Freeform Layout"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"},"blocks":{"anyOf":[{"items":{"$ref":"#/components/schemas/BlockIn"},"type":"array","minItems":1},{"type":"null"}],"title":"Blocks"}},"additionalProperties":false,"type":"object","required":["name"],"title":"DashboardCreate","description":"A dashboard to create, optionally with its initial blocks."},"DashboardPatch":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"visibility":{"type":"string","enum":["private","team","public"],"title":"Visibility"},"status":{"type":"string","enum":["draft","published"],"title":"Status"},"team_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id"},"layout":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Layout"},"filters":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Filters"},"date_range":{"anyOf":[{"$ref":"#/components/schemas/DateRange"},{"type":"null"}]},"time_grain":{"anyOf":[{"type":"string","enum":["day","week","month"]},{"type":"null"}],"title":"Time Grain"},"freeform_layout":{"anyOf":[{"items":{"$ref":"#/components/schemas/FreeformLayoutItem"},"type":"array"},{"type":"null"}],"title":"Freeform Layout"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"}},"additionalProperties":false,"type":"object","title":"DashboardPatch","description":"Changes to apply to a dashboard.\n\nOmitted fields remain unchanged. An explicit null clears a nullable field.\nBlocks are managed through the dashboard's block collection."},"DashboardV2":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the dashboard.","readOnly":true,"x-terraform-computed":true},"name":{"type":"string","title":"Name","description":"The display name of the dashboard."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Additional context about the dashboard and its purpose."},"visibility":{"type":"string","enum":["private","team","public"],"title":"Visibility","description":"Who can access the dashboard: its owner, a team, or the organization."},"status":{"type":"string","enum":["draft","published"],"title":"Status","description":"Whether the dashboard is a draft or has been published."},"team_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id","description":"The team the dashboard is shared with. Set only when visibility is `team`."},"created_by":{"type":"string","title":"Created By","description":"The identifier of the user or API key that created the dashboard.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By","description":"The identifier of the user or API key that most recently changed the dashboard.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the dashboard was created, as an RFC 3339 UTC timestamp.","readOnly":true,"x-terraform-computed":true},"update_time":{"type":"string","title":"Update Time","description":"When the dashboard was last changed, as an RFC 3339 UTC timestamp.","readOnly":true,"x-terraform-computed":true},"layout":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Layout","description":"Saved layout settings for the dashboard."},"filters":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Filters","description":"Filters applied to all compatible blocks in the dashboard."},"date_range":{"anyOf":[{"$ref":"#/components/schemas/DateRange"},{"type":"null"}],"description":"Date range applied to all compatible blocks in the dashboard."},"time_grain":{"anyOf":[{"type":"string","enum":["day","week","month"]},{"type":"null"}],"title":"Time Grain","description":"Time grain applied to all compatible blocks in the dashboard."},"freeform_layout":{"anyOf":[{"items":{"$ref":"#/components/schemas/FreeformLayoutItem"},"type":"array"},{"type":"null"}],"title":"Freeform Layout","description":"Positions and sizes of blocks on the dashboard grid."},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon","description":"Icon associated with the dashboard."},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color","description":"Color associated with the dashboard."},"blocks":{"items":{"$ref":"#/components/schemas/Block"},"type":"array","title":"Blocks","description":"Blocks contained in the dashboard."},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag. Supply it in an If-Match header when changing or deleting the dashboard.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","name","visibility","status","created_by","create_time","update_time","etag"],"title":"Dashboard","description":"A configurable collection of blocks for monitoring related information."},"DatabricksConnection":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the connection.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for this connection's configuration. Matches the `ETag` response header, and is what `If-Match` requires on a write. It changes whenever a configurable field on the connection changes.","readOnly":true,"x-terraform-computed":true},"name":{"type":"string","title":"Name","description":"Display name for the connection, as shown throughout SELECT."},"connection_id":{"type":"string","title":"Connection Id","description":"Identifier of the connection resource this Databricks connection belongs to (see `GET /v2/connections/{connection_id}`). Distinct from `id`, which identifies this Databricks connection specifically.","readOnly":true,"x-terraform-computed":true},"databricks_account_id":{"type":"string","title":"Databricks Account Id","description":"The Databricks account SELECT reads usage and spend for."},"primary_workspace_url":{"type":"string","title":"Primary Workspace Url","description":"URL of the workspace SELECT connects through to read the account's system tables. One account can have several connections, one per region, each reading through a workspace in its own region."},"warehouse_id":{"type":"string","title":"Warehouse Id","description":"The SQL warehouse in that workspace SELECT runs its queries on."},"metastore":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metastore","description":"The Unity Catalog metastore this connection reads, in `cloud:region:id` form. Null until the first successful validation resolves it.","readOnly":true,"x-terraform-computed":true},"workspace_ids":{"items":{"type":"string"},"type":"array","title":"Workspace Ids","description":"The workspaces SELECT has found activity in for this account and region. Accumulated as they are discovered, so a workspace that has gone quiet stays listed. Empty until the first successful discovery.","readOnly":true,"x-terraform-computed":true},"sync_enabled":{"type":"boolean","title":"Sync Enabled","description":"Whether SELECT is currently syncing data for this connection."},"query_sanitization_enabled":{"type":"boolean","title":"Query Sanitization Enabled","description":"Whether query text is sanitized before SELECT stores it."},"added_by_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Added By Email","description":"Email address of the person who added the connection. Null when it was not added by a person.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"last_successful_sync_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Successful Sync Time","description":"When SELECT last completed a sync for this connection. Null before the first one succeeds.","readOnly":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the connection was added.","readOnly":true,"x-terraform-computed":true},"update_time":{"type":"string","title":"Update Time","description":"When the connection was last changed.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","etag","name","connection_id","databricks_account_id","primary_workspace_url","warehouse_id","workspace_ids","sync_enabled","query_sanitization_enabled","create_time","update_time"],"title":"DatabricksConnection","description":"A connection to one Databricks account."},"DatabricksConnectionCreate":{"properties":{"name":{"type":"string","title":"Name","description":"Display name for the connection, as shown throughout SELECT."},"databricks_account_id":{"type":"string","pattern":"^[a-zA-Z0-9\\-]+$","title":"Databricks Account Id","description":"The Databricks account to read usage and spend for. Letters, digits and hyphens only."},"primary_workspace_url":{"type":"string","title":"Primary Workspace Url","description":"URL of the workspace to connect through, including the scheme — for example `https://my-workspace.cloud.databricks.com`. It must be in the region whose usage this connection should cover."},"warehouse_id":{"type":"string","pattern":"^[a-zA-Z0-9\\-]+$","title":"Warehouse Id","description":"The SQL warehouse in that workspace to run queries on. Letters, digits and hyphens only."},"credentials":{"$ref":"#/components/schemas/DatabricksCredentials","description":"The service principal SELECT authenticates as. Validated against Databricks before the connection is added."},"sync_enabled":{"type":"boolean","title":"Sync Enabled","description":"Whether SELECT starts syncing data for this connection.","default":true},"query_sanitization_enabled":{"type":"boolean","title":"Query Sanitization Enabled","description":"Whether query text is sanitized before SELECT stores it.","default":false}},"type":"object","required":["name","databricks_account_id","primary_workspace_url","warehouse_id","credentials"],"title":"DatabricksConnectionCreate","description":"A Databricks connection to add."},"DatabricksConnectionUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Display name for the connection, as shown throughout SELECT."},"primary_workspace_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Workspace Url","description":"URL of the workspace to connect through, including the scheme. It must be in the region whose usage this connection should cover."},"warehouse_id":{"anyOf":[{"type":"string","pattern":"^[a-zA-Z0-9\\-]+$"},{"type":"null"}],"title":"Warehouse Id","description":"The SQL warehouse in that workspace to run queries on. Letters, digits and hyphens only."},"credentials":{"anyOf":[{"$ref":"#/components/schemas/DatabricksCredentials"},{"type":"null"}],"description":"The service principal SELECT authenticates as. Revalidated against Databricks before it is stored."},"sync_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sync Enabled","description":"Whether SELECT is currently syncing data for this connection."},"query_sanitization_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Query Sanitization Enabled","description":"Whether query text is sanitized before SELECT stores it."}},"type":"object","title":"DatabricksConnectionUpdate","description":"A merge-patch update to an existing connection. Omitted fields are left\nunchanged; `null` clears a field.\n\nMirrors `DatabricksConnectionCreate` except `databricks_account_id`, which\ncannot be changed after the connection is added.\n\n`name`, `primary_workspace_url`, `warehouse_id`, `credentials`,\n`sync_enabled`, and `query_sanitization_enabled` are required when present\nand cannot be cleared with `null`.\n\nRotating credentials is atomic: `client_id` and `client_secret` move\ntogether, since `DatabricksCredentials` requires both."},"DatabricksConnectionValidationCheck":{"properties":{"id":{"type":"string","enum":["connectivity","workspace_discovery","system_table_access","query_text_access","metastore"],"title":"Id","description":"Identifies which check this is."},"label":{"type":"string","title":"Label","description":"Short human-readable name for the check."},"status":{"type":"string","enum":["passed","failed","skipped"],"title":"Status","description":"`passed`, `failed`, or `skipped`. A check is skipped only when an earlier check already failed and stopped the run."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"What to change when the check failed, or why it was skipped. Null when the check passed with nothing worth noting."},"docs_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Docs Link","description":"Link to the setup documentation covering what the check found. Null when no page addresses it specifically."}},"type":"object","required":["id","label","status"],"title":"DatabricksConnectionValidationCheck","description":"One check SELECT runs against a connection's configuration."},"DatabricksConnectionValidationReport":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether every applicable check passed."},"checks":{"items":{"$ref":"#/components/schemas/DatabricksConnectionValidationCheck"},"type":"array","title":"Checks","description":"The checks that ran, in the order they ran. Read top-down to find where setup stopped working."}},"type":"object","required":["success","checks"],"title":"DatabricksConnectionValidationReport","description":"The result of validating a connection's configuration against Databricks."},"DatabricksCredentials":{"properties":{"client_id":{"type":"string","minLength":1,"title":"Client Id","description":"Client ID of the service principal SELECT authenticates as."},"client_secret":{"type":"string","minLength":1,"title":"Client Secret","description":"An OAuth secret generated for that service principal.","writeOnly":true,"x-doit-confidentiality":"sensitive","x-terraform-sensitive":true}},"type":"object","required":["client_id","client_secret"],"title":"DatabricksCredentials","description":"How SELECT authenticates to a Databricks account.\n\nAn OAuth machine-to-machine service principal. Grant it access to the\nworkspace's SQL warehouse and read access to the account's system tables;\nSELECT reads nothing else."},"DatabricksCredentialsInfo":{"properties":{"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id","description":"Client ID of the service principal SELECT authenticates as. Null for a connection whose credentials have not been configured yet.","readOnly":true,"x-terraform-computed":true}},"type":"object","title":"DatabricksCredentialsInfo","description":"The non-secret half of how SELECT authenticates to a Databricks account.\n\nReports which service principal SELECT connects as, so a connection's\nauthentication can be reviewed without exposing what proves it. There is\nno field for the client secret — only whether it's configured."},"DatabricksWorkspace":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the workspace — the workspace id Databricks itself assigns, which also appears in Databricks workspace URLs.","readOnly":true,"x-terraform-computed":true},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Display name of the workspace as Databricks reports it. Null when Databricks has not reported one.","readOnly":true,"x-terraform-computed":true},"url":{"type":"string","title":"Url","description":"Base URL of the workspace, for example `https://my-workspace.cloud.databricks.com`. Use it to build links into Databricks for the jobs, clusters and SQL warehouses that ran in this workspace.","readOnly":true,"x-terraform-computed":true},"databricks_account_id":{"type":"string","title":"Databricks Account Id","description":"The Databricks account this workspace belongs to.","readOnly":true,"x-terraform-computed":true},"databricks_connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Databricks Connection Id","description":"Identifier of the Databricks connection SELECT discovered this workspace through (see `GET /v2/databricks-connections/{databricks_connection_id}`). Null when the workspace has been observed but not yet attributed to a connection.","readOnly":true,"x-terraform-computed":true},"created_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created Time","description":"When the workspace was created in Databricks. Null when Databricks has not reported a creation time.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","url","databricks_account_id"],"title":"DatabricksWorkspace","description":"One Databricks workspace SELECT has seen activity in."},"DateRange":{"properties":{"relative_shortcut":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relative Shortcut"},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},"additionalProperties":false,"type":"object","title":"DateRange"},"DefaultRoleGrantCreateV2":{"properties":{"role":{"$ref":"#/components/schemas/AccessRole","description":"The role every organization member holds."},"scope":{"anyOf":[{"$ref":"#/components/schemas/RoleGrantScope"},{"type":"null"}],"description":"The resource the role applies to. Omit to grant it across the whole organization."}},"additionalProperties":false,"type":"object","required":["role"],"title":"DefaultRoleGrantCreateV2"},"DefaultRoleGrantV2":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of this role grant.","readOnly":true,"x-terraform-computed":true},"role":{"$ref":"#/components/schemas/AccessRole","description":"The role every organization member holds."},"snowflake_organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Organization Name","description":"Snowflake organization this grant is scoped to, if any."},"snowflake_account_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Account Uuid","description":"Snowflake account this grant is scoped to, if any."},"usage_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Group Id","description":"Usage group this grant is scoped to, if any."},"entity":{"$ref":"#/components/schemas/PermissionEntityWithDisplayName","description":"The resolved scope this grant applies to — its type, id and human readable display name. Falls back to the organization when the grant carries no narrower scope.","readOnly":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the grant was created — RFC 3339 UTC, e.g. 2026-06-05T10:30:00Z.","readOnly":true,"x-terraform-computed":true},"update_time":{"type":"string","title":"Update Time","description":"When the grant was last updated — RFC 3339 UTC.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for optimistic concurrency.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","role","entity","create_time","update_time","etag"],"title":"DefaultRoleGrant","description":"A role every member of your organization holds by default, with the scope\nit applies to."},"DoneEvent_BigQueryConnectionValidationReport_":{"properties":{"event":{"type":"string","const":"done","title":"Event","default":"done"},"success":{"type":"boolean","title":"Success"},"result":{"anyOf":[{"$ref":"#/components/schemas/BigQueryConnectionValidationReport"},{"type":"null"}]},"problem":{"anyOf":[{"$ref":"#/components/schemas/ProblemDetail"},{"type":"null"}]}},"type":"object","required":["success"],"title":"DoneEvent[BigQueryConnectionValidationReport]"},"DoneEvent_BigQueryConnection_":{"properties":{"event":{"type":"string","const":"done","title":"Event","default":"done"},"success":{"type":"boolean","title":"Success"},"result":{"anyOf":[{"$ref":"#/components/schemas/BigQueryConnection"},{"type":"null"}]},"problem":{"anyOf":[{"$ref":"#/components/schemas/ProblemDetail"},{"type":"null"}]}},"type":"object","required":["success"],"title":"DoneEvent[BigQueryConnection]"},"EligibilityResult":{"properties":{"eligible":{"type":"boolean","title":"Eligible"},"reasons":{"items":{"type":"string"},"type":"array","title":"Reasons"},"insufficient_spend":{"type":"boolean","title":"Insufficient Spend","default":false},"bytes_diff_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bytes Diff Pct"},"query_diff_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Query Diff Pct"},"config_changes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Config Changes"},"multi_cluster":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Multi Cluster"},"prior_savings":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Prior Savings"}},"type":"object","required":["eligible"],"title":"EligibilityResult","description":"Whether an action qualifies for percentage-of-spend savings and the indicators behind that decision."},"EntityCardBlockConfig":{"properties":{"block_type":{"type":"string","const":"entity_card","title":"Block Type"},"entity_type":{"type":"string","enum":["monitor","budget"],"title":"Entity Type"},"entity_id":{"type":"string","title":"Entity Id"}},"additionalProperties":false,"type":"object","required":["block_type","entity_type","entity_id"],"title":"EntityCardBlockConfig"},"EqFilter_ActionMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/ActionMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"type":"string","enum":[">",">=","<","<=","=","!="],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"EqFilter[ActionMeasureName]"},"EqFilter_BudgetDimensionName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetDimensionName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"type":"string","enum":[">",">=","<","<=","=","!="],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"EqFilter[BudgetDimensionName]"},"EqFilter_BudgetMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"type":"string","enum":[">",">=","<","<=","=","!="],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"EqFilter[BudgetMeasureName]"},"EqFilter_DailyActionSavingsMeasures_":{"properties":{"field":{"$ref":"#/components/schemas/DailyActionSavingsMeasures"},"not":{"type":"boolean","title":"Not","default":false},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"type":"string","enum":[">",">=","<","<=","=","!="],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"EqFilter[DailyActionSavingsMeasures]"},"EqFilter_InsightMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/InsightMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"type":"string","enum":[">",">=","<","<=","=","!="],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"EqFilter[InsightMeasureName]"},"EqFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ActionDimensionName_"},{"$ref":"#/components/schemas/ActionDimensionName"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"type":"string","enum":[">",">=","<","<=","=","!="],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"EqFilter[Union[SemiStructuredDimension[ActionDimensionName], ActionDimensionName]]"},"EqFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ConsolidatedDailySpendDimensions_"},{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"type":"string","enum":[">",">=","<","<=","=","!="],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"EqFilter[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"EqFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ConsolidatedDailySpendDimensions_"},{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"type":"string","enum":[">",">=","<","<=","=","!="],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"EqFilter[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"EqFilter_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_DailyActionSavingsDimensions_"},{"$ref":"#/components/schemas/DailyActionSavingsDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"type":"string","enum":[">",">=","<","<=","=","!="],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"EqFilter[Union[SemiStructuredDimension[DailyActionSavingsDimensions], DailyActionSavingsDimensions]]"},"EqFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_InsightDimensionName_"},{"$ref":"#/components/schemas/InsightDimensionName"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"type":"string","enum":[">",">=","<","<=","=","!="],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"EqFilter[Union[SemiStructuredDimension[InsightDimensionName], InsightDimensionName]]"},"EqFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_"},{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"type":"string","enum":[">",">=","<","<=","=","!="],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"EqFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"EqFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_"},{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Value"},"operator":{"type":"string","enum":[">",">=","<","<=","=","!="],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"EqFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"ExportAuditFieldUpdate":{"properties":{"field":{"type":"string","title":"Field","description":"The name of the field that changed."},"old_value":{"title":"Old Value","description":"The value before the change."},"new_value":{"title":"New Value","description":"The value after the change."}},"type":"object","required":["field","old_value","new_value"],"title":"ExportAuditFieldUpdate","description":"A single field change, slimmed for export (drops UI label + raw values)."},"ExportAuditLog":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the audit log record."},"resource":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource","description":"The kind of record that was changed (e.g. `dashboards`, `connections`, `user_roles`). Null for event-driven records, which set `event_type` instead."},"event_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type","description":"The kind of event for records with no backing resource (e.g. `users`, `invitation`, `session`). Null for resource-backed records, which set `resource` instead. Exactly one of `resource` / `event_type` is set."},"record_id":{"type":"string","title":"Record Id","description":"The id of the changed record."},"operation":{"type":"string","enum":["insert","update","delete"],"title":"Operation","description":"The operation performed: insert, update, or delete."},"status":{"type":"string","enum":["success","failure"],"title":"Status","description":"Outcome of the action: `success`, or `failure` for an attempt that did not complete (e.g. a failed login, which is otherwise recorded with the same `operation` as a successful one)."},"changed_by":{"type":"string","title":"Changed By","description":"Who made the change (user email or API key name)."},"changed_at":{"type":"string","title":"Changed At","description":"When the change occurred — RFC 3339 UTC, e.g. 2026-06-05T10:30:00Z."},"updates":{"items":{"$ref":"#/components/schemas/ExportAuditFieldUpdate"},"type":"array","title":"Updates","description":"The list of field changes captured for this record."}},"type":"object","required":["id","record_id","operation","status","changed_by","changed_at","updates"],"title":"ExportAuditLog","description":"A single audit log record, slimmed for export."},"FeedBlockConfig-Input":{"properties":{"query_class":{"type":"string","title":"Query Class"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"tooltip":{"type":"string","title":"Tooltip","default":""},"query_scope":{"$ref":"#/components/schemas/QueryScope","default":{"filters":[]}},"block_type":{"type":"string","const":"feed","title":"Block Type"},"display":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/FeedDisplayConfig"},{"$ref":"#/components/schemas/MonitorFeedDisplayConfig"}],"discriminator":{"propertyName":"kind","mapping":{"insights":"#/components/schemas/FeedDisplayConfig","monitor":"#/components/schemas/MonitorFeedDisplayConfig"}}},{"type":"null"}],"title":"Display"}},"additionalProperties":false,"type":"object","required":["query_class","title","block_type"],"title":"FeedBlockConfig"},"FeedBlockConfig-Output":{"properties":{"query_class":{"type":"string","title":"Query Class"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"tooltip":{"type":"string","title":"Tooltip","default":""},"query_scope":{"$ref":"#/components/schemas/QueryScope","default":{"filters":[]}},"block_type":{"type":"string","const":"feed","title":"Block Type"},"display":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/FeedDisplayConfig"},{"$ref":"#/components/schemas/MonitorFeedDisplayConfig"}],"discriminator":{"propertyName":"kind","mapping":{"insights":"#/components/schemas/FeedDisplayConfig","monitor":"#/components/schemas/MonitorFeedDisplayConfig"}}},{"type":"null"}],"title":"Display"}},"additionalProperties":false,"type":"object","required":["query_class","title","block_type"],"title":"FeedBlockConfig"},"FeedDisplayConfig":{"properties":{"kind":{"type":"string","const":"insights","title":"Kind","default":"insights"},"row_limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Row Limit","default":20},"sort_key":{"type":"string","enum":["effective_annualized_potential_savings_lower_bound","first_generated_at"],"title":"Sort Key","default":"effective_annualized_potential_savings_lower_bound"},"sort_order":{"type":"string","enum":["asc","desc"],"title":"Sort Order","default":"desc"}},"additionalProperties":false,"type":"object","title":"FeedDisplayConfig"},"FilterExpression_ActionMeasureName_":{"properties":{"operator":{"type":"string","enum":["and","or"],"title":"Operator"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_ActionMeasureName_"},{"$ref":"#/components/schemas/EqFilter_ActionMeasureName_"},{"$ref":"#/components/schemas/InFilter_ActionMeasureName_"},{"$ref":"#/components/schemas/ArrayContainsFilter_ActionMeasureName_"},{"$ref":"#/components/schemas/IsFilter_ActionMeasureName_"},{"$ref":"#/components/schemas/LikeFilter_ActionMeasureName_"},{"$ref":"#/components/schemas/MultiLikeFilter_ActionMeasureName_"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_ActionMeasureName_"}]},"type":"array","title":"Filters"},"component_type":{"anyOf":[{"type":"string","const":"Resource Filter"},{"type":"null"}],"title":"Component Type"}},"type":"object","required":["operator","filters"],"title":"FilterExpression[ActionMeasureName]"},"FilterExpression_BudgetDimensionName_":{"properties":{"operator":{"type":"string","enum":["and","or"],"title":"Operator"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_BudgetDimensionName_"},{"$ref":"#/components/schemas/EqFilter_BudgetDimensionName_"},{"$ref":"#/components/schemas/InFilter_BudgetDimensionName_"},{"$ref":"#/components/schemas/ArrayContainsFilter_BudgetDimensionName_"},{"$ref":"#/components/schemas/IsFilter_BudgetDimensionName_"},{"$ref":"#/components/schemas/LikeFilter_BudgetDimensionName_"},{"$ref":"#/components/schemas/MultiLikeFilter_BudgetDimensionName_"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_BudgetDimensionName_"}]},"type":"array","title":"Filters"},"component_type":{"anyOf":[{"type":"string","const":"Resource Filter"},{"type":"null"}],"title":"Component Type"}},"type":"object","required":["operator","filters"],"title":"FilterExpression[BudgetDimensionName]"},"FilterExpression_BudgetMeasureName_":{"properties":{"operator":{"type":"string","enum":["and","or"],"title":"Operator"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_BudgetMeasureName_"},{"$ref":"#/components/schemas/EqFilter_BudgetMeasureName_"},{"$ref":"#/components/schemas/InFilter_BudgetMeasureName_"},{"$ref":"#/components/schemas/ArrayContainsFilter_BudgetMeasureName_"},{"$ref":"#/components/schemas/IsFilter_BudgetMeasureName_"},{"$ref":"#/components/schemas/LikeFilter_BudgetMeasureName_"},{"$ref":"#/components/schemas/MultiLikeFilter_BudgetMeasureName_"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_BudgetMeasureName_"}]},"type":"array","title":"Filters"},"component_type":{"anyOf":[{"type":"string","const":"Resource Filter"},{"type":"null"}],"title":"Component Type"}},"type":"object","required":["operator","filters"],"title":"FilterExpression[BudgetMeasureName]"},"FilterExpression_DailyActionSavingsMeasures_":{"properties":{"operator":{"type":"string","enum":["and","or"],"title":"Operator"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_DailyActionSavingsMeasures_"},{"$ref":"#/components/schemas/EqFilter_DailyActionSavingsMeasures_"},{"$ref":"#/components/schemas/InFilter_DailyActionSavingsMeasures_"},{"$ref":"#/components/schemas/ArrayContainsFilter_DailyActionSavingsMeasures_"},{"$ref":"#/components/schemas/IsFilter_DailyActionSavingsMeasures_"},{"$ref":"#/components/schemas/LikeFilter_DailyActionSavingsMeasures_"},{"$ref":"#/components/schemas/MultiLikeFilter_DailyActionSavingsMeasures_"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_DailyActionSavingsMeasures_"}]},"type":"array","title":"Filters"},"component_type":{"anyOf":[{"type":"string","const":"Resource Filter"},{"type":"null"}],"title":"Component Type"}},"type":"object","required":["operator","filters"],"title":"FilterExpression[DailyActionSavingsMeasures]"},"FilterExpression_InsightMeasureName_":{"properties":{"operator":{"type":"string","enum":["and","or"],"title":"Operator"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_InsightMeasureName_"},{"$ref":"#/components/schemas/EqFilter_InsightMeasureName_"},{"$ref":"#/components/schemas/InFilter_InsightMeasureName_"},{"$ref":"#/components/schemas/ArrayContainsFilter_InsightMeasureName_"},{"$ref":"#/components/schemas/IsFilter_InsightMeasureName_"},{"$ref":"#/components/schemas/LikeFilter_InsightMeasureName_"},{"$ref":"#/components/schemas/MultiLikeFilter_InsightMeasureName_"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_InsightMeasureName_"}]},"type":"array","title":"Filters"},"component_type":{"anyOf":[{"type":"string","const":"Resource Filter"},{"type":"null"}],"title":"Component Type"}},"type":"object","required":["operator","filters"],"title":"FilterExpression[InsightMeasureName]"},"FilterExpression_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__":{"properties":{"operator":{"type":"string","enum":["and","or"],"title":"Operator"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"$ref":"#/components/schemas/EqFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"$ref":"#/components/schemas/InFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"$ref":"#/components/schemas/ArrayContainsFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"$ref":"#/components/schemas/IsFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"$ref":"#/components/schemas/LikeFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"$ref":"#/components/schemas/MultiLikeFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__"}]},"type":"array","title":"Filters"},"component_type":{"anyOf":[{"type":"string","const":"Resource Filter"},{"type":"null"}],"title":"Component Type"}},"type":"object","required":["operator","filters"],"title":"FilterExpression[Union[SemiStructuredDimension[ActionDimensionName], ActionDimensionName]]"},"FilterExpression_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input":{"properties":{"operator":{"type":"string","enum":["and","or"],"title":"Operator"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input"},{"$ref":"#/components/schemas/EqFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input"},{"$ref":"#/components/schemas/InFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input"},{"$ref":"#/components/schemas/ArrayContainsFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input"},{"$ref":"#/components/schemas/IsFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input"},{"$ref":"#/components/schemas/LikeFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input"},{"$ref":"#/components/schemas/MultiLikeFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input"}]},"type":"array","title":"Filters"},"component_type":{"anyOf":[{"type":"string","const":"Resource Filter"},{"type":"null"}],"title":"Component Type"}},"type":"object","required":["operator","filters"],"title":"FilterExpression[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"FilterExpression_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output":{"properties":{"operator":{"type":"string","enum":["and","or"],"title":"Operator"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output"},{"$ref":"#/components/schemas/EqFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output"},{"$ref":"#/components/schemas/InFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output"},{"$ref":"#/components/schemas/ArrayContainsFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output"},{"$ref":"#/components/schemas/IsFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output"},{"$ref":"#/components/schemas/LikeFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output"},{"$ref":"#/components/schemas/MultiLikeFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output"}]},"type":"array","title":"Filters"},"component_type":{"anyOf":[{"type":"string","const":"Resource Filter"},{"type":"null"}],"title":"Component Type"}},"type":"object","required":["operator","filters"],"title":"FilterExpression[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"FilterExpression_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__":{"properties":{"operator":{"type":"string","enum":["and","or"],"title":"Operator"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__"},{"$ref":"#/components/schemas/EqFilter_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__"},{"$ref":"#/components/schemas/InFilter_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__"},{"$ref":"#/components/schemas/ArrayContainsFilter_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__"},{"$ref":"#/components/schemas/IsFilter_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__"},{"$ref":"#/components/schemas/LikeFilter_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__"},{"$ref":"#/components/schemas/MultiLikeFilter_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__"}]},"type":"array","title":"Filters"},"component_type":{"anyOf":[{"type":"string","const":"Resource Filter"},{"type":"null"}],"title":"Component Type"}},"type":"object","required":["operator","filters"],"title":"FilterExpression[Union[SemiStructuredDimension[DailyActionSavingsDimensions], DailyActionSavingsDimensions]]"},"FilterExpression_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__":{"properties":{"operator":{"type":"string","enum":["and","or"],"title":"Operator"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"$ref":"#/components/schemas/EqFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"$ref":"#/components/schemas/InFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"$ref":"#/components/schemas/ArrayContainsFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"$ref":"#/components/schemas/IsFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"$ref":"#/components/schemas/LikeFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"$ref":"#/components/schemas/MultiLikeFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"}]},"type":"array","title":"Filters"},"component_type":{"anyOf":[{"type":"string","const":"Resource Filter"},{"type":"null"}],"title":"Component Type"}},"type":"object","required":["operator","filters"],"title":"FilterExpression[Union[SemiStructuredDimension[InsightDimensionName], InsightDimensionName]]"},"FilterExpression_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output":{"properties":{"operator":{"type":"string","enum":["and","or"],"title":"Operator"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output"},{"$ref":"#/components/schemas/EqFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output"},{"$ref":"#/components/schemas/InFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output"},{"$ref":"#/components/schemas/ArrayContainsFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output"},{"$ref":"#/components/schemas/IsFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output"},{"$ref":"#/components/schemas/LikeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output"},{"$ref":"#/components/schemas/MultiLikeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output"}]},"type":"array","title":"Filters"},"component_type":{"anyOf":[{"type":"string","const":"Resource Filter"},{"type":"null"}],"title":"Component Type"}},"type":"object","required":["operator","filters"],"title":"FilterExpression[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"FixedRangeSchedule":{"properties":{"schedule_type":{"type":"string","const":"fixed_range","title":"Schedule Type"},"start_date":{"type":"string","format":"date","title":"Start Date"},"end_date":{"type":"string","format":"date","title":"End Date"}},"type":"object","required":["schedule_type","start_date","end_date"],"title":"FixedRangeSchedule"},"FreeformBlockPosition":{"properties":{"x":{"type":"integer","exclusiveMaximum":12.0,"minimum":0.0,"title":"X"},"y":{"type":"integer","minimum":0.0,"title":"Y"},"w":{"type":"integer","maximum":12.0,"exclusiveMinimum":0.0,"title":"W"},"h":{"type":"integer","exclusiveMinimum":0.0,"title":"H"},"kind":{"type":"string","const":"freeform","title":"Kind"},"after_block_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"After Block Id"}},"additionalProperties":false,"type":"object","required":["x","y","w","h","kind"],"title":"FreeformBlockPosition"},"FreeformLayoutItem":{"properties":{"x":{"type":"integer","exclusiveMaximum":12.0,"minimum":0.0,"title":"X"},"y":{"type":"integer","minimum":0.0,"title":"Y"},"w":{"type":"integer","maximum":12.0,"exclusiveMinimum":0.0,"title":"W"},"h":{"type":"integer","exclusiveMinimum":0.0,"title":"H"},"i":{"type":"string","title":"I"}},"additionalProperties":false,"type":"object","required":["x","y","w","h","i"],"title":"FreeformLayoutItem"},"InFilter_ActionMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/ActionMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","enum":["in","not in"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"InFilter[ActionMeasureName]"},"InFilter_BudgetDimensionName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetDimensionName"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","enum":["in","not in"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"InFilter[BudgetDimensionName]"},"InFilter_BudgetMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","enum":["in","not in"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"InFilter[BudgetMeasureName]"},"InFilter_DailyActionSavingsMeasures_":{"properties":{"field":{"$ref":"#/components/schemas/DailyActionSavingsMeasures"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","enum":["in","not in"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"InFilter[DailyActionSavingsMeasures]"},"InFilter_InsightMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/InsightMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","enum":["in","not in"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"InFilter[InsightMeasureName]"},"InFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ActionDimensionName_"},{"$ref":"#/components/schemas/ActionDimensionName"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","enum":["in","not in"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"InFilter[Union[SemiStructuredDimension[ActionDimensionName], ActionDimensionName]]"},"InFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ConsolidatedDailySpendDimensions_"},{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","enum":["in","not in"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"InFilter[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"InFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ConsolidatedDailySpendDimensions_"},{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","enum":["in","not in"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"InFilter[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"InFilter_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_DailyActionSavingsDimensions_"},{"$ref":"#/components/schemas/DailyActionSavingsDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","enum":["in","not in"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"InFilter[Union[SemiStructuredDimension[DailyActionSavingsDimensions], DailyActionSavingsDimensions]]"},"InFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_InsightDimensionName_"},{"$ref":"#/components/schemas/InsightDimensionName"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","enum":["in","not in"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"InFilter[Union[SemiStructuredDimension[InsightDimensionName], InsightDimensionName]]"},"InFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_"},{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","enum":["in","not in"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"InFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"InFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_"},{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string","format":"date"},{"type":"null"}]},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","enum":["in","not in"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"InFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"InRelativeDateRangeFilter_ActionMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/ActionMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["in range","not in range"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"InRelativeDateRangeFilter[ActionMeasureName]"},"InRelativeDateRangeFilter_BudgetDimensionName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetDimensionName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["in range","not in range"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"InRelativeDateRangeFilter[BudgetDimensionName]"},"InRelativeDateRangeFilter_BudgetMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["in range","not in range"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"InRelativeDateRangeFilter[BudgetMeasureName]"},"InRelativeDateRangeFilter_DailyActionSavingsMeasures_":{"properties":{"field":{"$ref":"#/components/schemas/DailyActionSavingsMeasures"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["in range","not in range"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"InRelativeDateRangeFilter[DailyActionSavingsMeasures]"},"InRelativeDateRangeFilter_InsightMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/InsightMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["in range","not in range"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"InRelativeDateRangeFilter[InsightMeasureName]"},"InRelativeDateRangeFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ActionDimensionName_"},{"$ref":"#/components/schemas/ActionDimensionName"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["in range","not in range"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"InRelativeDateRangeFilter[Union[SemiStructuredDimension[ActionDimensionName], ActionDimensionName]]"},"InRelativeDateRangeFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ConsolidatedDailySpendDimensions_"},{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["in range","not in range"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"InRelativeDateRangeFilter[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"InRelativeDateRangeFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ConsolidatedDailySpendDimensions_"},{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["in range","not in range"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"InRelativeDateRangeFilter[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"InRelativeDateRangeFilter_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_DailyActionSavingsDimensions_"},{"$ref":"#/components/schemas/DailyActionSavingsDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["in range","not in range"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"InRelativeDateRangeFilter[Union[SemiStructuredDimension[DailyActionSavingsDimensions], DailyActionSavingsDimensions]]"},"InRelativeDateRangeFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_InsightDimensionName_"},{"$ref":"#/components/schemas/InsightDimensionName"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["in range","not in range"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"InRelativeDateRangeFilter[Union[SemiStructuredDimension[InsightDimensionName], InsightDimensionName]]"},"InRelativeDateRangeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_"},{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["in range","not in range"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"InRelativeDateRangeFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"InRelativeDateRangeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_"},{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["in range","not in range"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"InRelativeDateRangeFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"Insight":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the insight.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for optimistic concurrency. Matches the ETag response header; supply it in an If-Match header on a later update to make that write conditional and avoid overwriting newer changes.","readOnly":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the insight was first created, as an RFC 3339 UTC timestamp.","readOnly":true,"x-terraform-computed":true},"update_time":{"type":"string","title":"Update Time","description":"When the insight was last updated, as an RFC 3339 UTC timestamp.","readOnly":true,"x-terraform-computed":true},"snowflake_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Id","description":"Stable identifier for the insight, carried through from the source data. It stays the same across syncs and only changes if the insight is regenerated.","readOnly":true,"x-terraform-computed":true},"is_current":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Current","description":"Whether this is the current, active version of the insight for its resource. Superseded insights stay queryable but are marked not current.","readOnly":true,"x-terraform-computed":true},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","description":"Identifier of the connection this insight was generated for.","readOnly":true,"x-terraform-computed":true},"connection_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Type","description":"The type of connection this insight was generated for.","readOnly":true,"x-terraform-computed":true},"account_metadata":{"title":"Account Metadata","description":"Details of the account this insight relates to.","readOnly":true,"x-terraform-computed":true},"resource_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Type","description":"The type of resource this insight is about, such as a warehouse.","readOnly":true,"x-terraform-computed":true},"aggregate_resource_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aggregate Resource Type","description":"When the insight covers a group of resources, the type of those resources.","readOnly":true,"x-terraform-computed":true},"insight_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Insight Type","description":"The category of optimization opportunity this insight describes.","readOnly":true,"x-terraform-computed":true},"identifying_metadata":{"anyOf":[{},{"type":"null"}],"title":"Identifying Metadata","description":"Details identifying the specific resource this insight applies to.","readOnly":true,"x-terraform-computed":true},"aggregate_metadata":{"anyOf":[{},{"type":"null"}],"title":"Aggregate Metadata","description":"Additional details for insights that span multiple resources.","readOnly":true,"x-terraform-computed":true},"usage_groups":{"anyOf":[{},{"type":"null"}],"title":"Usage Groups","description":"The usage groups associated with this insight.","readOnly":true,"x-terraform-computed":true},"insight_metadata":{"anyOf":[{},{"type":"null"}],"title":"Insight Metadata","description":"Additional details specific to this insight's type.","readOnly":true,"x-terraform-computed":true},"effort":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Effort","description":"Estimated effort required to act on this insight.","readOnly":true,"x-terraform-computed":true},"studied_period_start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Studied Period Start","description":"Start of the time period analyzed to produce this insight.","readOnly":true,"x-terraform-computed":true},"studied_period_end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Studied Period End","description":"End of the time period analyzed to produce this insight.","readOnly":true,"x-terraform-computed":true},"annualized_potential_savings_lower_bound":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Annualized Potential Savings Lower Bound","description":"Lower bound of the estimated annualized savings if this insight is acted on.","readOnly":true,"x-terraform-computed":true},"annualized_potential_savings_upper_bound":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Annualized Potential Savings Upper Bound","description":"Upper bound of the estimated annualized savings if this insight is acted on.","readOnly":true,"x-terraform-computed":true},"last_generated_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Generated Time","description":"When this insight was most recently generated, as an RFC 3339 UTC timestamp.","readOnly":true,"x-terraform-computed":true},"first_generated_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Generated Time","description":"When this insight was first generated, as an RFC 3339 UTC timestamp.","readOnly":true,"x-terraform-computed":true},"first_view_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First View Time","description":"When this insight was first viewed by anyone in your organization, as an RFC 3339 UTC timestamp. Null if it has never been viewed.","readOnly":true,"x-terraform-computed":true},"last_view_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last View Time","description":"When this insight was most recently viewed by anyone in your organization, as an RFC 3339 UTC timestamp. Null if it has never been viewed.","readOnly":true,"x-terraform-computed":true},"view_count":{"type":"integer","title":"View Count","description":"Number of distinct days this insight was viewed by anyone in your organization. 0 if it has never been viewed.","readOnly":true,"x-terraform-computed":true},"first_viewed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Viewed By","description":"Email address of the first user in your organization to view this insight. Null if it has never been viewed.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"last_viewed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Viewed By","description":"Email address of the most recent user in your organization to view this insight. Null if it has never been viewed.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"status":{"type":"string","title":"Status","description":"Current workflow status of the insight: `open`, `backlog`, `resolved` or `dismissed`."},"assignee":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignee","description":"Email address of the user this insight is assigned to.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"user_effort":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Effort","description":"Effort estimate you have set for this insight, overriding SELECT's estimate."},"user_annualized_potential_savings_lower_bound":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"User Annualized Potential Savings Lower Bound","description":"Lower bound of the annualized savings you have set for this insight, overriding SELECT's estimate."},"user_annualized_potential_savings_upper_bound":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"User Annualized Potential Savings Upper Bound","description":"Upper bound of the annualized savings you have set for this insight, overriding SELECT's estimate."}},"type":"object","required":["id","etag","create_time","update_time","account_metadata","view_count","status"],"title":"Insight","description":"A single insight — an optimization opportunity SELECT has surfaced for\none of your resources."},"InsightDimensionName":{"type":"string","enum":["identifying_metadata","aggregate_metadata","insight_metadata","insight_type","collapsed_insight_type","resource_type","nice_resource_type","aggregate_resource_type","effort","effort_sort_index","user_effort","effective_effort","effective_effort_sort_index","status","assignee","connection_id","is_current","is_dismissed","account_metadata","sf_account","sf_org","usage_groups","usage_group","connection_type","platform_organization","platform_instance","platform_instance_name","snowflake_account_name","snowflake_org_name","databricks_account_id","databricks_workspace_id","first_generated_at","first_generated_day","last_generated_at","studied_period_start","studied_period_end","latest_query_start_time","nice_identifying_metadata","id","etag","snowflake_id","other_insights_for_resource","annualized_potential_savings_lower_bound","annualized_potential_savings_upper_bound","user_annualized_potential_savings_lower_bound","user_annualized_potential_savings_upper_bound","effective_annualized_potential_savings_lower_bound","effective_annualized_potential_savings_upper_bound"],"title":"InsightDimensionName"},"InsightMeasureName":{"type":"string","enum":["count","num_insights","sum_annualized_potential_savings_lower_bound","sum_annualized_potential_savings_upper_bound","sum_unique_annualized_potential_savings_lower_bound","sum_unique_annualized_potential_savings_upper_bound","avg_annualized_potential_savings_lower_bound","avg_annualized_potential_savings_upper_bound","sum_effective_annualized_potential_savings_lower_bound","sum_effective_annualized_potential_savings_upper_bound","sum_unique_effective_annualized_potential_savings_lower_bound","sum_unique_effective_annualized_potential_savings_upper_bound","num_resources","min_studied_period_start","max_studied_period_end"],"title":"InsightMeasureName"},"InsightQuery":{"properties":{"measures":{"items":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredMeasure_InsightDimensionName_"},{"$ref":"#/components/schemas/InsightMeasureName"}]},"type":"array","title":"Measures"},"dimensions":{"items":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_InsightDimensionName_"},{"$ref":"#/components/schemas/InsightDimensionName"}]},"type":"array","title":"Dimensions"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/InFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"$ref":"#/components/schemas/ArrayContainsFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"$ref":"#/components/schemas/IsFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"$ref":"#/components/schemas/LikeFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"$ref":"#/components/schemas/MultiLikeFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"$ref":"#/components/schemas/EqFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"}]},"type":"array","title":"Filters"},"filter_expression":{"anyOf":[{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__"},{"type":"null"}]},"measure_filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/InFilter_InsightMeasureName_"},{"$ref":"#/components/schemas/ArrayContainsFilter_InsightMeasureName_"},{"$ref":"#/components/schemas/IsFilter_InsightMeasureName_"},{"$ref":"#/components/schemas/LikeFilter_InsightMeasureName_"},{"$ref":"#/components/schemas/MultiLikeFilter_InsightMeasureName_"},{"$ref":"#/components/schemas/EqFilter_InsightMeasureName_"},{"$ref":"#/components/schemas/FilterExpression_InsightMeasureName_"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_InsightMeasureName_"}]},"type":"array","title":"Measure Filters"},"sort":{"items":{"$ref":"#/components/schemas/Sort_InsightMeasureName_InsightDimensionName_"},"type":"array","title":"Sort"},"limit":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Limit","description":"Maximum rows to return, at most 10000. An aggregation that produces more rows than this is silently cut short at the limit, so narrow the filters or group by fewer dimensions rather than raising it to see everything.","default":10000}},"additionalProperties":false,"type":"object","title":"InsightQuery","description":"An aggregate query over insights.\n\nGroup with `dimensions`, aggregate with `measures`, narrow rows with `filters` or\n`filter_expression`, and narrow aggregates with `measure_filters`. Rows are already\nlimited to the insights the caller may see."},"InsightUpdate":{"properties":{"status":{"anyOf":[{"type":"string","enum":["open","backlog","resolved","dismissed"]},{"type":"null"}],"title":"Status","description":"Workflow status of the insight. Set it to `dismissed` to dismiss the insight. Cannot be `null`."},"assignee":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignee","description":"Email address of the user to assign this insight to. The assignee is subscribed to the insight's activity feed. Send `null` to unassign.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"user_effort":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Effort","description":"Effort estimate for this insight, overriding SELECT's estimate. Send `null` to fall back to SELECT's estimate."},"user_annualized_potential_savings_lower_bound":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"User Annualized Potential Savings Lower Bound","description":"Lower bound of the annualized savings for this insight, overriding SELECT's estimate. Send `null` to fall back to SELECT's estimate."},"user_annualized_potential_savings_upper_bound":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"User Annualized Potential Savings Upper Bound","description":"Upper bound of the annualized savings for this insight, overriding SELECT's estimate. Send `null` to fall back to SELECT's estimate."}},"additionalProperties":false,"type":"object","title":"InsightUpdate","description":"The fields of an insight you can change.\n\nOmit a field to leave it unchanged; send `null` to clear it. Fields SELECT\ngenerates cannot be set."},"InvitationCreateV2":{"properties":{"invitee_email_address":{"type":"string","pattern":"^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$","title":"Invitee Email Address","description":"Email address to send the invitation to.","x-doit-confidentiality":"customer-data","x-doit-pii":true}},"type":"object","required":["invitee_email_address"],"title":"InvitationCreate","description":"The details needed to invite someone to the organization."},"InvitationV2":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the invitation.","readOnly":true,"x-terraform-computed":true},"inviter_name":{"type":"string","title":"Inviter Name","description":"Name shown to the invitee as the sender — the inviting member's email address, or the creator of the API key the invitation was sent with.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"invitee_email_address":{"type":"string","title":"Invitee Email Address","description":"Email address the invitation was sent to.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the invitation was sent — RFC 3339 UTC, e.g. 2026-06-05T10:30:00Z.","readOnly":true,"x-terraform-computed":true},"expiry_time":{"type":"string","title":"Expiry Time","description":"When the invitation stops being redeemable — RFC 3339 UTC. After this the invitee must be invited again.","readOnly":true,"x-terraform-computed":true},"invitation_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invitation Url","description":"One-time link that redeems the invitation. Anyone holding it can join the organization as the invitee, so share it only with them.","readOnly":true,"x-doit-confidentiality":"sensitive","x-doit-pii":true,"x-terraform-computed":true}},"type":"object","required":["id","inviter_name","invitee_email_address","create_time","expiry_time","invitation_url"],"title":"Invitation","description":"A pending invitation for someone to join the organization."},"IsFilter_ActionMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/ActionMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"null","title":"Value"},"operator":{"type":"string","enum":["is","is not"],"title":"Operator"}},"type":"object","required":["field","operator"],"title":"IsFilter[ActionMeasureName]"},"IsFilter_BudgetDimensionName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetDimensionName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"null","title":"Value"},"operator":{"type":"string","enum":["is","is not"],"title":"Operator"}},"type":"object","required":["field","operator"],"title":"IsFilter[BudgetDimensionName]"},"IsFilter_BudgetMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"null","title":"Value"},"operator":{"type":"string","enum":["is","is not"],"title":"Operator"}},"type":"object","required":["field","operator"],"title":"IsFilter[BudgetMeasureName]"},"IsFilter_DailyActionSavingsMeasures_":{"properties":{"field":{"$ref":"#/components/schemas/DailyActionSavingsMeasures"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"null","title":"Value"},"operator":{"type":"string","enum":["is","is not"],"title":"Operator"}},"type":"object","required":["field","operator"],"title":"IsFilter[DailyActionSavingsMeasures]"},"IsFilter_InsightMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/InsightMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"null","title":"Value"},"operator":{"type":"string","enum":["is","is not"],"title":"Operator"}},"type":"object","required":["field","operator"],"title":"IsFilter[InsightMeasureName]"},"IsFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ActionDimensionName_"},{"$ref":"#/components/schemas/ActionDimensionName"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"null","title":"Value"},"operator":{"type":"string","enum":["is","is not"],"title":"Operator"}},"type":"object","required":["field","operator"],"title":"IsFilter[Union[SemiStructuredDimension[ActionDimensionName], ActionDimensionName]]"},"IsFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ConsolidatedDailySpendDimensions_"},{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"null","title":"Value"},"operator":{"type":"string","enum":["is","is not"],"title":"Operator"}},"type":"object","required":["field","operator"],"title":"IsFilter[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"IsFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ConsolidatedDailySpendDimensions_"},{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"null","title":"Value"},"operator":{"type":"string","enum":["is","is not"],"title":"Operator"}},"type":"object","required":["field","operator"],"title":"IsFilter[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"IsFilter_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_DailyActionSavingsDimensions_"},{"$ref":"#/components/schemas/DailyActionSavingsDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"null","title":"Value"},"operator":{"type":"string","enum":["is","is not"],"title":"Operator"}},"type":"object","required":["field","operator"],"title":"IsFilter[Union[SemiStructuredDimension[DailyActionSavingsDimensions], DailyActionSavingsDimensions]]"},"IsFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_InsightDimensionName_"},{"$ref":"#/components/schemas/InsightDimensionName"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"null","title":"Value"},"operator":{"type":"string","enum":["is","is not"],"title":"Operator"}},"type":"object","required":["field","operator"],"title":"IsFilter[Union[SemiStructuredDimension[InsightDimensionName], InsightDimensionName]]"},"IsFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_"},{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"null","title":"Value"},"operator":{"type":"string","enum":["is","is not"],"title":"Operator"}},"type":"object","required":["field","operator"],"title":"IsFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"IsFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_"},{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"null","title":"Value"},"operator":{"type":"string","enum":["is","is not"],"title":"Operator"}},"type":"object","required":["field","operator"],"title":"IsFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"LikeFilter_ActionMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/ActionMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["ilike","startswith","array_contains_prefix","array_contains_substring"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"LikeFilter[ActionMeasureName]"},"LikeFilter_BudgetDimensionName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetDimensionName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["ilike","startswith","array_contains_prefix","array_contains_substring"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"LikeFilter[BudgetDimensionName]"},"LikeFilter_BudgetMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["ilike","startswith","array_contains_prefix","array_contains_substring"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"LikeFilter[BudgetMeasureName]"},"LikeFilter_DailyActionSavingsMeasures_":{"properties":{"field":{"$ref":"#/components/schemas/DailyActionSavingsMeasures"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["ilike","startswith","array_contains_prefix","array_contains_substring"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"LikeFilter[DailyActionSavingsMeasures]"},"LikeFilter_InsightMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/InsightMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["ilike","startswith","array_contains_prefix","array_contains_substring"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"LikeFilter[InsightMeasureName]"},"LikeFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ActionDimensionName_"},{"$ref":"#/components/schemas/ActionDimensionName"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["ilike","startswith","array_contains_prefix","array_contains_substring"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"LikeFilter[Union[SemiStructuredDimension[ActionDimensionName], ActionDimensionName]]"},"LikeFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ConsolidatedDailySpendDimensions_"},{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["ilike","startswith","array_contains_prefix","array_contains_substring"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"LikeFilter[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"LikeFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ConsolidatedDailySpendDimensions_"},{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["ilike","startswith","array_contains_prefix","array_contains_substring"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"LikeFilter[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"LikeFilter_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_DailyActionSavingsDimensions_"},{"$ref":"#/components/schemas/DailyActionSavingsDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["ilike","startswith","array_contains_prefix","array_contains_substring"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"LikeFilter[Union[SemiStructuredDimension[DailyActionSavingsDimensions], DailyActionSavingsDimensions]]"},"LikeFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_InsightDimensionName_"},{"$ref":"#/components/schemas/InsightDimensionName"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["ilike","startswith","array_contains_prefix","array_contains_substring"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"LikeFilter[Union[SemiStructuredDimension[InsightDimensionName], InsightDimensionName]]"},"LikeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_"},{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["ilike","startswith","array_contains_prefix","array_contains_substring"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"LikeFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"LikeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_"},{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"value":{"type":"string","title":"Value"},"operator":{"type":"string","enum":["ilike","startswith","array_contains_prefix","array_contains_substring"],"title":"Operator"}},"type":"object","required":["field","value","operator"],"title":"LikeFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"ListResponse_ActionV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ActionV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[ActionV2]"},"ListResponse_AwsAccount_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AwsAccount"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[AwsAccount]"},"ListResponse_BigQueryConnection_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BigQueryConnection"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[BigQueryConnection]"},"ListResponse_BudgetSpendSummaryV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BudgetSpendSummaryV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[BudgetSpendSummaryV2]"},"ListResponse_BudgetV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BudgetV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[BudgetV2]"},"ListResponse_Connection_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Connection"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[Connection]"},"ListResponse_DashboardV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DashboardV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[DashboardV2]"},"ListResponse_DatabricksConnection_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DatabricksConnection"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[DatabricksConnection]"},"ListResponse_DatabricksWorkspace_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DatabricksWorkspace"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[DatabricksWorkspace]"},"ListResponse_DefaultRoleGrantV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DefaultRoleGrantV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[DefaultRoleGrantV2]"},"ListResponse_ExportAuditLog_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ExportAuditLog"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[ExportAuditLog]"},"ListResponse_Insight_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Insight"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[Insight]"},"ListResponse_InvitationV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/InvitationV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[InvitationV2]"},"ListResponse_QueryInsightV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/QueryInsightV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[QueryInsightV2]"},"ListResponse_SnowflakeAccount_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SnowflakeAccount"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[SnowflakeAccount]"},"ListResponse_SsoGroupRoleGrantV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SsoGroupRoleGrantV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[SsoGroupRoleGrantV2]"},"ListResponse_SsoGroupV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SsoGroupV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[SsoGroupV2]"},"ListResponse_TableauConnection_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TableauConnection"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[TableauConnection]"},"ListResponse_TeamMemberV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TeamMemberV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[TeamMemberV2]"},"ListResponse_TeamMembersV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TeamMembersV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[TeamMembersV2]"},"ListResponse_TeamRoleGrantV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TeamRoleGrantV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[TeamRoleGrantV2]"},"ListResponse_TeamV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TeamV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[TeamV2]"},"ListResponse_TicketLink_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TicketLink"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[TicketLink]"},"ListResponse_UsageGroupSetV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UsageGroupSetV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[UsageGroupSetV2]"},"ListResponse_UsageGroupSetVersionWithUsageGroupsV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UsageGroupSetVersionWithUsageGroupsV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[UsageGroupSetVersionWithUsageGroupsV2]"},"ListResponse_UsageGroupV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UsageGroupV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[UsageGroupV2]"},"ListResponse_UserRoleGrantV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserRoleGrantV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[UserRoleGrantV2]"},"ListResponse_UserRoleGrantsV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserRoleGrantsV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[UserRoleGrantsV2]"},"ListResponse_UserV2_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserV2"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[UserV2]"},"ListResponse_dict_str__Any__":{"properties":{"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."}},"type":"object","required":["items"],"title":"ListResponse[dict[str, Any]]"},"MonitorFeedDisplayConfig":{"properties":{"kind":{"type":"string","const":"monitor","title":"Kind","default":"monitor"},"sort_key":{"type":"string","enum":["severity","recent","frequency"],"title":"Sort Key","default":"severity"}},"additionalProperties":false,"type":"object","title":"MonitorFeedDisplayConfig"},"MultiLikeFilter_ActionMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/ActionMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"type":"string"},"type":"array","title":"Values"},"operator":{"type":"string","enum":["ilike","startswith"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"MultiLikeFilter[ActionMeasureName]"},"MultiLikeFilter_BudgetDimensionName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetDimensionName"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"type":"string"},"type":"array","title":"Values"},"operator":{"type":"string","enum":["ilike","startswith"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"MultiLikeFilter[BudgetDimensionName]"},"MultiLikeFilter_BudgetMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"type":"string"},"type":"array","title":"Values"},"operator":{"type":"string","enum":["ilike","startswith"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"MultiLikeFilter[BudgetMeasureName]"},"MultiLikeFilter_DailyActionSavingsMeasures_":{"properties":{"field":{"$ref":"#/components/schemas/DailyActionSavingsMeasures"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"type":"string"},"type":"array","title":"Values"},"operator":{"type":"string","enum":["ilike","startswith"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"MultiLikeFilter[DailyActionSavingsMeasures]"},"MultiLikeFilter_InsightMeasureName_":{"properties":{"field":{"$ref":"#/components/schemas/InsightMeasureName"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"type":"string"},"type":"array","title":"Values"},"operator":{"type":"string","enum":["ilike","startswith"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"MultiLikeFilter[InsightMeasureName]"},"MultiLikeFilter_Union_SemiStructuredDimension_ActionDimensionName___ActionDimensionName__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ActionDimensionName_"},{"$ref":"#/components/schemas/ActionDimensionName"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"type":"string"},"type":"array","title":"Values"},"operator":{"type":"string","enum":["ilike","startswith"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"MultiLikeFilter[Union[SemiStructuredDimension[ActionDimensionName], ActionDimensionName]]"},"MultiLikeFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Input":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ConsolidatedDailySpendDimensions_"},{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"type":"string"},"type":"array","title":"Values"},"operator":{"type":"string","enum":["ilike","startswith"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"MultiLikeFilter[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"MultiLikeFilter_Union_SemiStructuredDimension_ConsolidatedDailySpendDimensions___ConsolidatedDailySpendDimensions__-Output":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ConsolidatedDailySpendDimensions_"},{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"type":"string"},"type":"array","title":"Values"},"operator":{"type":"string","enum":["ilike","startswith"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"MultiLikeFilter[Union[SemiStructuredDimension[ConsolidatedDailySpendDimensions], ConsolidatedDailySpendDimensions]]"},"MultiLikeFilter_Union_SemiStructuredDimension_DailyActionSavingsDimensions___DailyActionSavingsDimensions__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_DailyActionSavingsDimensions_"},{"$ref":"#/components/schemas/DailyActionSavingsDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"type":"string"},"type":"array","title":"Values"},"operator":{"type":"string","enum":["ilike","startswith"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"MultiLikeFilter[Union[SemiStructuredDimension[DailyActionSavingsDimensions], DailyActionSavingsDimensions]]"},"MultiLikeFilter_Union_SemiStructuredDimension_InsightDimensionName___InsightDimensionName__":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_InsightDimensionName_"},{"$ref":"#/components/schemas/InsightDimensionName"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"type":"string"},"type":"array","title":"Values"},"operator":{"type":"string","enum":["ilike","startswith"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"MultiLikeFilter[Union[SemiStructuredDimension[InsightDimensionName], InsightDimensionName]]"},"MultiLikeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_"},{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"type":"string"},"type":"array","title":"Values"},"operator":{"type":"string","enum":["ilike","startswith"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"MultiLikeFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"MultiLikeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_"},{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"}],"title":"Field"},"not":{"type":"boolean","title":"Not","default":false},"values":{"items":{"type":"string"},"type":"array","title":"Values"},"operator":{"type":"string","enum":["ilike","startswith"],"title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"MultiLikeFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"OverrideInfo":{"properties":{"applied_percent":{"type":"number","title":"Applied Percent"},"original_reasons":{"items":{"type":"string"},"type":"array","title":"Original Reasons"}},"type":"object","required":["applied_percent"],"title":"OverrideInfo","description":"A manually applied savings percentage override and the original ineligibility reasons."},"PermissionEntityType":{"type":"string","enum":["select_organization","snowflake_organization","snowflake_account","databricks_account","databricks_connection","bigquery_connection","aws_account","tableau_site","team","usage_group"],"title":"PermissionEntityType","description":"The type of the permission entity.\n\nComparison operations are supported to understand the level in the hierarchy of\nthe type.\n\nNOTE: The object hierarchy is not linear. SELECT Organizations are still at the\ntop, but teams and usage groups are effectively the same level, but will return\nfalse if compared.\n\nHierarchy (see ``grants.CONTAINS`` for the authoritative tree):\nSELECT_ORGANIZATION\n├── SNOWFLAKE_ORGANIZATION\n│   └── SNOWFLAKE_ACCOUNT\n│       └── USAGE_GROUP\n├── DATABRICKS_ACCOUNT\n│   └── DATABRICKS_CONNECTION\n├── BIGQUERY_CONNECTION\n├── AWS_ACCOUNT\n├── TABLEAU_SITE\n├── TEAM\n│   └── USAGE_GROUP\n└── USAGE_GROUP"},"PermissionEntityWithDisplayName":{"properties":{"type":{"$ref":"#/components/schemas/PermissionEntityType"},"id":{"type":"string","title":"Id"},"display_name":{"type":"string","title":"Display Name"},"usage_group_details":{"anyOf":[{"$ref":"#/components/schemas/UsageGroupDetails"},{"type":"null"}]},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"}},"type":"object","required":["type","id","display_name"],"title":"PermissionEntityWithDisplayName","description":"Permission entity with a human readable display name.\n\nArgs:\n    type: The type of the entity. `usage_group`, `snowflake_account`,\n        `snowflake_organization`, `databricks_account`, `databricks_connection`,\n        `team`, or `select_organization`.\n    id: The id of the entity. The `usage_group_id`, `snowflake_account_uuid`,\n        `snowflake_organization_name`, `databricks_account_id`,\n        `databricks_conn_id`, `team_id`, or `organization_id`.\n    display_name: A human readable name for the entity. Typically colon delimited.\n        On this class the property is required.\n    usage_group_details: Optional details about the usage group. Only included in\n        serialization when type is USAGE_GROUP.\n\nNote that the hashing and equality check are done based on the `type` and `id` fields\nas per the `PermissionEntity` class. This means that even if the `display_name` is\ndifferent, two `PermissionEntityWithDisplayName` instances will still compare equal."},"ProblemDetail":{"additionalProperties":true,"description":"RFC 9457-style error payload, served as ``application/problem+json``.\n\n``code`` is the stable, machine-readable identifier — consumers branch on it,\nnever on ``title``. ``type`` stays ``about:blank``: we keep no per-error\ndocumentation pages. There is no ``instance``/request-id member (we don't run\naccess logs). See the flat error-code catalogue in §4 of the standards doc.","properties":{"type":{"default":"about:blank","title":"Type","type":"string"},"title":{"title":"Title","type":"string"},"status":{"title":"Status","type":"integer"},"detail":{"title":"Detail","type":"string"},"code":{"title":"Code","type":"string"},"retryable":{"title":"Retryable","type":"boolean"},"details":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null,"title":"Details"}},"required":["title","status","detail","code","retryable"],"title":"ProblemDetail","type":"object"},"QueryInsightV2":{"properties":{"id":{"type":"string","title":"Id","description":"Identifier of this finding, stable for this query execution.","readOnly":true,"x-terraform-computed":true},"insight_type":{"type":"string","enum":["excessive_data_spillage","exploding_joins","inappropriate_warehouse_size","incrementalize_dbt_model","incrementalize_query","ineffective_query_pruning","inefficient_cortex_function_usage","redundant_operations","scanning_many_columns","subminute_query_on_large_warehouse"],"title":"Insight Type","description":"The kind of optimization opportunity that was found.","readOnly":true,"x-terraform-computed":true},"effort":{"type":"string","enum":["low","medium","high"],"title":"Effort","description":"Estimated effort required to act on the recommendation.","readOnly":true,"x-terraform-computed":true},"potential_savings":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Potential Savings","description":"Estimated saving if the recommendation is applied, expressed in `potential_savings_unit`. Null when no estimate is available for this insight type.","readOnly":true,"x-terraform-computed":true},"potential_savings_unit":{"anyOf":[{"type":"string","enum":["usd","gigabytes","fraction_of_runtime","fraction_of_billed_time"]},{"type":"null"}],"title":"Potential Savings Unit","description":"Unit of `potential_savings`. `usd` is the cost of this single execution and is not annualized; `gigabytes` is data scanned; the `fraction_` units are proportions, normally between 0 and 1.","readOnly":true,"x-terraform-computed":true},"recommendation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recommendation","description":"What to change, in plain language.","readOnly":true,"x-terraform-computed":true},"code_change_available":{"type":"boolean","title":"Code Change Available","description":"Whether a suggested rewrite of the query can be generated for this finding.","readOnly":true,"x-terraform-computed":true},"code_change_type":{"anyOf":[{"type":"string","enum":["query-pruning","incremental-query-pruning","incrementalize-dbt-query","incrementalize-ctas-query","inefficient-cortex-function-usage"]},{"type":"null"}],"title":"Code Change Type","description":"The optimization discriminator to send when generating a code change. Null when this finding does not support that action.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","insight_type","effort","code_change_available"],"title":"QueryInsight","description":"An optimization opportunity found in a single query execution.\n\nQuery insights come from the query's execution profile, so they are only\navailable while Snowflake still retains that profile."},"QueryResponse_dict_str__Any__":{"properties":{"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."},"sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql","description":"The SQL that produced these rows, returned only when the request asks for it. Database and schema names are left as placeholders. Null when the request did not ask for it, or when this endpoint does not publish its SQL."}},"type":"object","required":["items"],"title":"QueryResponse[dict[str, Any]]"},"QueryScope":{"properties":{"filters":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Filters","default":[]},"date_range":{"anyOf":[{"$ref":"#/components/schemas/DateRange"},{"type":"null"}]},"time_grain":{"anyOf":[{"type":"string","enum":["day","week","month"]},{"type":"null"}],"title":"Time Grain"}},"additionalProperties":false,"type":"object","title":"QueryScope"},"RecurringSchedule":{"properties":{"schedule_type":{"type":"string","enum":["weekly","monthly","quarterly","yearly"],"title":"Schedule Type"},"start_date":{"type":"string","format":"date","title":"Start Date"},"expires_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Expires On"},"expires_after_occurrences":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires After Occurrences"}},"type":"object","required":["schedule_type","start_date"],"title":"RecurringSchedule"},"ResourceInfo":{"properties":{"resource_type":{"type":"string","enum":["warehouse","task","stored_procedure","dynamic_table","dbt","query_pattern","mode","hex","periscope","fivetran","custom","view","storage","snowpipe","looker","sigma","instance","tableau_workbook","tableau_data_source","tableau_user","automatic_clustering","search_optimization","snowpipe_streaming","stream","stage","idle_warehouse","snowflake_query","Cortex Agent","Cortex Analyst","Cortex Code","Cortex Code CLI","Cortex Code Snowsight","Cortex Code Desktop","Cortex Fine Tuning","Cortex Provisioned Throughput","Cortex Search","Cortex Search Serving","Snowflake Intelligence","Snowpark Container Services","databricks_query_pattern","databricks_dbt","databricks_job","databricks_submit_run_job","databricks_job_task","databricks_warehouse","databricks_idle_warehouse","databricks_cluster","databricks_sql_warehouse","databricks_dlt_pipeline","databricks_app","databricks_model_serving","databricks_notebook","databricks_query","databricks_genie","databricks_lakebase","databricks_networking","databricks_database","databricks_default_storage","databricks_interactive","databricks_data_quality_monitoring","databricks_base_environments","databricks_data_classification","databricks_data_sharing","databricks_lakeflow_connect","databricks_foundation_model_training","databricks_workflow_run_job","databricks_predictive_optimization","databricks_fine_grained_access_control","databricks_agent_evaluation","bigquery_job","bigquery_query_pattern","bigquery_dbt","bigquery_looker","bigquery_custom","bigquery_reservation","bigquery_project"],"title":"Resource Type","description":"The kind of resource to resolve."},"identifying_metadata":{"additionalProperties":true,"type":"object","title":"Identifying Metadata","description":"Identifiers that uniquely locate the resource within its account. Required keys depend on `resource_type` — e.g. a warehouse is `{\"name\": ...}` and a table is `{\"database_name\": ..., \"schema_name\": ..., \"name\": ...}`. See the examples."}},"type":"object","required":["resource_type","identifying_metadata"],"title":"ResourceInfo","description":"A cloud resource to resolve to its canonical SELECT Resource Name (SRN).\n\nProvide the resource's `resource_type` and the `identifying_metadata` that\npins down the specific resource. The keys required in `identifying_metadata`\ndepend on `resource_type`; see the examples for the common types.","examples":[{"identifying_metadata":{"name":"ANALYTICS_WH"},"resource_type":"warehouse"},{"identifying_metadata":{"database_name":"PROD","name":"ORDERS","schema_name":"PUBLIC"},"resource_type":"storage"},{"identifying_metadata":{"query_pattern_id":"a1b2c3d4","query_type":"SELECT"},"resource_type":"query_pattern"},{"identifying_metadata":{"node_name":"fct_orders","node_resource_type":"model","project_name":"analytics"},"resource_type":"dbt"},{"identifying_metadata":{"database_name":"PROD","name":"REFRESH_ORDERS","schema_name":"PUBLIC"},"resource_type":"task"}]},"ResourceMetadata":{"properties":{"resource_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Type"},"identifying_metadata":{"additionalProperties":true,"type":"object","title":"Identifying Metadata"},"account_metadata":{"additionalProperties":true,"type":"object","title":"Account Metadata"}},"type":"object","title":"ResourceMetadata"},"RoleGrantScope":{"properties":{"type":{"$ref":"#/components/schemas/RoleGrantScopeType","description":"The kind of resource this grant applies to."},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"Identifier of the resource — the Snowflake organization name, Snowflake account UUID, Databricks account id, Databricks connection id, BigQuery connection id, AWS account id, Tableau site LUID, or usage group id. Required for every scope type except organization."}},"additionalProperties":false,"type":"object","required":["type"],"title":"RoleGrantScope","description":"The resource a role grant applies to."},"RoleGrantScopeType":{"type":"string","enum":["organization","snowflake_organization","snowflake_account","databricks_account","databricks_connection","bigquery_connection","aws_account","tableau_site","usage_group"],"title":"RoleGrantScopeType","description":"The kind of resource a role grant applies to."},"SavingsCalculationMetadata":{"properties":{"avg_daily_before":{"type":"number","title":"Avg Daily Before"},"avg_daily_after":{"type":"number","title":"Avg Daily After"},"savings_per_day":{"type":"number","title":"Savings Per Day"},"after_period_start":{"type":"string","title":"After Period Start"},"after_period_end":{"type":"string","title":"After Period End"},"before_period_start":{"type":"string","title":"Before Period Start"},"before_period_end":{"type":"string","title":"Before Period End"},"days_in_period":{"type":"integer","title":"Days In Period"},"sum_spend_before":{"type":"number","title":"Sum Spend Before"},"sum_spend_after":{"type":"number","title":"Sum Spend After"},"calculated_at":{"type":"string","title":"Calculated At"},"savings_rate_percent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Savings Rate Percent"},"was_capped":{"type":"boolean","title":"Was Capped","default":false},"eligibility":{"anyOf":[{"$ref":"#/components/schemas/EligibilityResult"},{"type":"null"}]},"override":{"anyOf":[{"$ref":"#/components/schemas/OverrideInfo"},{"type":"null"}]}},"type":"object","required":["avg_daily_before","avg_daily_after","savings_per_day","after_period_start","after_period_end","before_period_start","before_period_end","days_in_period","sum_spend_before","sum_spend_after","calculated_at"],"title":"SavingsCalculationMetadata"},"SelectOrganizationUsageGroupDimensions":{"type":"string","enum":["bigquery_storage_project","bigquery_storage_dataset","bigquery_storage_project_dataset","bigquery_job_labels_map","bigquery_billed_project","bigquery_query_project","bigquery_source_type","connection_id","bigquery_reservation_labels_map","bigquery_reservation_labels","bigquery_organization","bigquery_billing_export_project","bigquery_billing_account","bigquery_reservation_id","bigquery_edition","bigquery_statement_type","bigquery_job_type","bigquery_pricing_model","bigquery_principal_subject","bigquery_priority","bigquery_job_id","bigquery_query_dialect","bigquery_state","bigquery_error_reason","bigquery_admin_project_id","bigquery_query_pattern_id","databricks_query_tags_map","databricks_pipeline_name","databricks_pipeline_tags","databricks_pipeline_tags_map","databricks_job_name","databricks_job_tags","databricks_job_tags_map","databricks_cluster_id","databricks_cluster_name","databricks_cluster_tags","databricks_cluster_tags_map","databricks_warehouse_id","databricks_sql_warehouse_name","databricks_warehouse_tags","databricks_warehouse_tags_map","databricks_app_name","databricks_base_environment_id","databricks_billing_origin_product","databricks_budget_policy_id","databricks_compute_resource_name","databricks_compute_size","databricks_data_quality_monitoring_schema_id","databricks_data_quality_monitoring_table_id","databricks_database_instance_id","databricks_genie_agent_id","databricks_genie_surface","databricks_is_photon","databricks_model_serving_endpoint_id","databricks_model_serving_endpoint_name","databricks_networking_associated_product","databricks_networking_client","databricks_networking_destination_region","databricks_networking_private_endpoint_name","databricks_networking_recipient_id","databricks_networking_source_region","databricks_notebook_path","databricks_storage_api_type","databricks_usage_type","databricks_account_id","databricks_workspace_id","databricks_workspace_name","databricks_compute_type","databricks_is_serverless","databricks_jobs_tier","databricks_sql_tier","databricks_dlt_tier","databricks_node_type","databricks_run_as","databricks_created_by","databricks_owned_by","databricks_sku_name","compute_pool_name","application_name","base_tables_accessed","base_schemas_accessed","base_databases_accessed","base_tables_accessed_csv","tables_modified","schemas_modified","databases_modified","tables_modified_csv","database_tags","database_tags_map","object_database_tags","object_database_tags_map","object_schema_tags","object_schema_tags_map","object_name_tags","object_name_tags_map","object_level_tags","object_level_tags_map","resource_type","nice_resource_type","identifying_metadata","dbt_node_tags","dbt_target_database_schema_name","dbt_resource_database_schema_name","usage_group_metadata","snowpipe_database_name","snowpipe_database_schema_name","snowpipe_fully_qualified_name","snowpipe_streaming_database_name","snowpipe_streaming_database_schema_name","snowpipe_streaming_fully_qualified_name","cortex_agent_database_name","cortex_agent_database_schema_name","cortex_agent_fully_qualified_name","task_database_name","task_database_schema_name","task_fully_qualified_name","stored_procedure_database_name","stored_procedure_database_schema_name","stored_procedure_fully_qualified_name","dynamic_table_database_name","dynamic_table_database_schema_name","dynamic_table_fully_qualified_name","warehouse_name","warehouse_tags","warehouse_tags_map","user_name","user_tags","user_tags_map","role_name","role_tags","role_tags_map","database_name","schema_name","database_schema_name","fivetran_database_schema_name","custom_workload_app_workload_id","query_type","snowflake_intelligence_instance","snowflake_account_name","snowflake_org_name","account_name","account_locator","region","service_level","managed_by","account_name_and_warehouse","usage_type","account_name_and_usage_type","account_metadata","connection_type","platform_organization","platform_instance","platform_instance_name"]},"SemiStructuredDimension_ActionDimensionName_":{"properties":{"field":{"$ref":"#/components/schemas/ActionDimensionName"},"path":{"items":{"type":"string"},"type":"array","title":"Path"}},"type":"object","required":["field","path"],"title":"SemiStructuredDimension[ActionDimensionName]"},"SemiStructuredDimension_BudgetDimensionName_":{"properties":{"field":{"$ref":"#/components/schemas/BudgetDimensionName"},"path":{"items":{"type":"string"},"type":"array","title":"Path"}},"type":"object","required":["field","path"],"title":"SemiStructuredDimension[BudgetDimensionName]"},"SemiStructuredDimension_ConsolidatedDailySpendDimensions_":{"properties":{"field":{"$ref":"#/components/schemas/ConsolidatedDailySpendDimensions"},"path":{"items":{"type":"string"},"type":"array","title":"Path"}},"type":"object","required":["field","path"],"title":"SemiStructuredDimension[ConsolidatedDailySpendDimensions]"},"SemiStructuredDimension_DailyActionSavingsDimensions_":{"properties":{"field":{"$ref":"#/components/schemas/DailyActionSavingsDimensions"},"path":{"items":{"type":"string"},"type":"array","title":"Path"}},"type":"object","required":["field","path"],"title":"SemiStructuredDimension[DailyActionSavingsDimensions]"},"SemiStructuredDimension_InsightDimensionName_":{"properties":{"field":{"$ref":"#/components/schemas/InsightDimensionName"},"path":{"items":{"type":"string"},"type":"array","title":"Path"}},"type":"object","required":["field","path"],"title":"SemiStructuredDimension[InsightDimensionName]"},"SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_":{"properties":{"field":{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"},"path":{"items":{"type":"string"},"type":"array","title":"Path"}},"type":"object","required":["field","path"],"title":"SemiStructuredDimension[SelectOrganizationUsageGroupDimensions]"},"SemiStructuredMeasure_ActionDimensionName_":{"properties":{"aggregate_function":{"type":"string","const":"array_unique_agg","title":"Aggregate Function"},"dimension":{"$ref":"#/components/schemas/SemiStructuredDimension_ActionDimensionName_"}},"type":"object","required":["aggregate_function","dimension"],"title":"SemiStructuredMeasure[ActionDimensionName]"},"SemiStructuredMeasure_BudgetDimensionName_":{"properties":{"aggregate_function":{"type":"string","const":"array_unique_agg","title":"Aggregate Function"},"dimension":{"$ref":"#/components/schemas/SemiStructuredDimension_BudgetDimensionName_"}},"type":"object","required":["aggregate_function","dimension"],"title":"SemiStructuredMeasure[BudgetDimensionName]"},"SemiStructuredMeasure_DailyActionSavingsDimensions_":{"properties":{"aggregate_function":{"type":"string","const":"array_unique_agg","title":"Aggregate Function"},"dimension":{"$ref":"#/components/schemas/SemiStructuredDimension_DailyActionSavingsDimensions_"}},"type":"object","required":["aggregate_function","dimension"],"title":"SemiStructuredMeasure[DailyActionSavingsDimensions]"},"SemiStructuredMeasure_InsightDimensionName_":{"properties":{"aggregate_function":{"type":"string","const":"array_unique_agg","title":"Aggregate Function"},"dimension":{"$ref":"#/components/schemas/SemiStructuredDimension_InsightDimensionName_"}},"type":"object","required":["aggregate_function","dimension"],"title":"SemiStructuredMeasure[InsightDimensionName]"},"SnowflakeAccount":{"properties":{"id":{"type":"string","title":"Id","description":"The account's Snowflake identifier, in `ORGANIZATION-ACCOUNT` form. Set by the caller when the account is added and cannot be changed afterward."},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for this account's configuration. Matches the `ETag` response header, and is what `If-Match` requires on a write. It changes whenever a configurable field on the account changes.","readOnly":true,"x-terraform-computed":true},"name":{"type":"string","title":"Name","description":"Display name for the account, as shown throughout SELECT."},"snowflake_organization_name":{"type":"string","title":"Snowflake Organization Name","description":"Name of the Snowflake organization the account belongs to.","readOnly":true,"x-terraform-computed":true},"snowflake_account_name":{"type":"string","title":"Snowflake Account Name","description":"The account's name within its Snowflake organization.","readOnly":true,"x-terraform-computed":true},"locator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locator","description":"The account's Snowflake locator, as returned by `current_account()`.","readOnly":true,"x-terraform-computed":true},"account_region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Region","description":"The Snowflake region the account is hosted in.","readOnly":true,"x-terraform-computed":true},"snowsight_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowsight Url","description":"Link to the account in Snowsight.","readOnly":true,"x-terraform-computed":true},"snowflake_reader_parent_account_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Reader Parent Account Name","description":"For a reader account, the name of the account that created it. Null for a regular account.","readOnly":true,"x-terraform-computed":true},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role","description":"The Snowflake role SELECT assumes when reading this account."},"warehouse":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warehouse","description":"The Snowflake warehouse SELECT runs its queries on."},"describe_object_sproc_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Describe Object Sproc Name","description":"Fully qualified name of the stored procedure SELECT calls to describe objects it cannot read directly."},"export_storage_integration_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Storage Integration Name","description":"Name of the Snowflake storage integration used to export data to SELECT. Mutually exclusive with `export_stage_name`."},"export_stage_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Stage Name","description":"Fully qualified name of the Snowflake stage used to export data to SELECT, for accounts that export through a stage rather than a storage integration."},"compute_cost_per_credit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Compute Cost Per Credit","description":"Overrides the credit rate SELECT reads from Snowflake when costing compute. Null uses the rate on the account's contract."},"storage_cost_per_tb":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Storage Cost Per Tb","description":"Overrides the rate SELECT uses when costing storage, per terabyte per month. Null uses the rate on the account's contract."},"customer_side_sanitization_database_schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Side Sanitization Database Schema","description":"`DATABASE.SCHEMA` hosting the customer's own sanitized copies of Snowflake's account usage views, which SELECT reads instead of the originals. Null disables the redirection."},"customer_side_sanitization_views":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Customer Side Sanitization Views","description":"The account usage views to redirect, such as `query_history`. Null redirects every view SELECT reads."},"excluded_users_filter_expression":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excluded Users Filter Expression","description":"JSON-encoded filter selecting Snowflake users whose activity is excluded from SELECT's cost and usage figures.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"fivetran_users":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Fivetran Users","description":"Snowflake users that Fivetran runs as, so their activity is attributed to Fivetran.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"mode_workspace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode Workspace","description":"The Mode workspace to attribute queries to."},"mode_token_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode Token Id","description":"Identifier of the Mode API token SELECT uses."},"mode_credentials_configured":{"type":"boolean","title":"Mode Credentials Configured","description":"Whether Mode BI credentials are configured for this account. The credentials themselves are never returned.","readOnly":true,"x-terraform-computed":true},"connection_id":{"type":"string","title":"Connection Id","description":"Identifier of the underlying connection this account reads through.","readOnly":true,"x-terraform-computed":true},"sync_enabled":{"type":"boolean","title":"Sync Enabled","description":"Whether SELECT is currently syncing data for this account."},"query_sanitization_enabled":{"type":"boolean","title":"Query Sanitization Enabled","description":"Whether query text is sanitized before SELECT stores it."},"has_org_admin_access":{"type":"boolean","title":"Has Org Admin Access","description":"Whether SELECT can read this account's Snowflake organization-level usage views, which is what makes organization-wide rates and spend available.","readOnly":true,"x-terraform-computed":true},"has_data_share":{"type":"boolean","title":"Has Data Share","description":"Whether the account reads SELECT's data share.","readOnly":true,"x-terraform-computed":true},"has_manage_warehouses_grant":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Manage Warehouses Grant","description":"Whether SELECT's role holds `manage warehouses` on the account, which smart suspension requires. Null until first checked.","readOnly":true,"x-terraform-computed":true},"added_by_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Added By Email","description":"Email address of the user who added the account.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"latest_sync_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Sync Time","description":"When SELECT last synced data for this account, as an RFC 3339 UTC timestamp.","readOnly":true,"x-terraform-computed":true},"last_successful_sync_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Successful Sync Time","description":"When the account's last sync succeeded, as an RFC 3339 UTC timestamp. Behind `latest_sync_time` if the most recent attempt failed.","readOnly":true,"x-terraform-computed":true},"latest_hourly_spend_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Hourly Spend Time","description":"The most recent hour SELECT holds spend data for, as an RFC 3339 UTC timestamp.","readOnly":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the account was added to SELECT, as an RFC 3339 UTC timestamp.","readOnly":true,"x-terraform-computed":true},"update_time":{"type":"string","title":"Update Time","description":"When the account was last changed, as an RFC 3339 UTC timestamp.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","etag","name","snowflake_organization_name","snowflake_account_name","mode_credentials_configured","connection_id","sync_enabled","query_sanitization_enabled","has_org_admin_access","has_data_share","create_time","update_time"],"title":"SnowflakeAccount","description":"A connection to one Snowflake account."},"SnowflakeAccountCreate":{"properties":{"id":{"type":"string","title":"Id","description":"The account's Snowflake identifier, in `ORGANIZATION-ACCOUNT` form (e.g. `acme-us-east-1`). Cannot be changed once the account is added.\n\nMust already be normalized: lower case, no surrounding whitespace, and `-` rather than `.` between organization and account. A PrivateLink identifier, which ends in `.privatelink`, keeps its dots because the host it resolves to does. A value that is not already normalized is rejected rather than rewritten, so what you submit always matches what a subsequent read returns."},"name":{"type":"string","title":"Name","description":"Display name for the account, as shown throughout SELECT."},"credentials":{"$ref":"#/components/schemas/SnowflakeCredentials","description":"How SELECT authenticates to the account."},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role","description":"The Snowflake role SELECT assumes when reading this account. Null uses the user's default role."},"warehouse":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warehouse","description":"The Snowflake warehouse SELECT runs its queries on. Null uses the user's default warehouse."},"describe_object_sproc_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Describe Object Sproc Name","description":"Fully qualified name of the stored procedure SELECT calls to describe objects it cannot read directly. Null if there is none."},"export_storage_integration_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Storage Integration Name","description":"Name of the Snowflake storage integration used to export data to SELECT. Mutually exclusive with `export_stage_name`."},"export_stage_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Stage Name","description":"Fully qualified name of the Snowflake stage used to export data to SELECT. Mutually exclusive with `export_storage_integration_name`."},"compute_cost_per_credit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Compute Cost Per Credit","description":"Overrides the credit rate SELECT reads from Snowflake when costing compute. Required together with `storage_cost_per_tb` when the account cannot read organization-level rates."},"storage_cost_per_tb":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Storage Cost Per Tb","description":"Overrides the rate SELECT uses when costing storage, per terabyte per month. Required together with `compute_cost_per_credit` when the account cannot read organization-level rates."},"customer_side_sanitization_database_schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Side Sanitization Database Schema","description":"`DATABASE.SCHEMA` hosting your own sanitized copies of Snowflake's account usage views, which SELECT reads instead of the originals. Null disables the redirection."},"customer_side_sanitization_views":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Customer Side Sanitization Views","description":"The account usage views to redirect, such as `query_history`. Null redirects every view SELECT reads. Requires `customer_side_sanitization_database_schema`."},"excluded_users_filter_expression":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excluded Users Filter Expression","description":"JSON-encoded filter selecting Snowflake users whose activity is excluded from SELECT's cost and usage figures.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"fivetran_users":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Fivetran Users","description":"Snowflake users that Fivetran runs as, so their activity is attributed to Fivetran.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"mode_workspace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode Workspace","description":"The Mode workspace to attribute queries to."},"mode_token_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode Token Id","description":"Identifier of the Mode API token SELECT uses."},"mode_token_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode Token Secret","description":"The Mode API token secret.","writeOnly":true,"x-doit-confidentiality":"sensitive","x-terraform-sensitive":true},"sync_enabled":{"type":"boolean","title":"Sync Enabled","description":"Whether SELECT starts syncing data for this account.","default":true},"query_sanitization_enabled":{"type":"boolean","title":"Query Sanitization Enabled","description":"Whether query text is sanitized before SELECT stores it.","default":false}},"type":"object","required":["id","name","credentials"],"title":"SnowflakeAccountCreate","description":"The configuration SELECT needs to start reading a Snowflake account.\n\nEvery field here is returned by a read of the created account, except the\ncredentials, which are write-only and never returned."},"SnowflakeAccountModeTest":{"properties":{"mode_workspace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode Workspace","description":"The Mode workspace to attribute queries to."},"mode_token_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode Token Id","description":"Identifier of the Mode API token SELECT uses."},"mode_token_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode Token Secret","description":"The Mode API token secret.","writeOnly":true,"x-doit-confidentiality":"sensitive","x-terraform-sensitive":true}},"type":"object","title":"SnowflakeAccountModeTest","description":"Mode BI credentials to test against an existing account, without\npersisting them. Any field left out falls back to the account's currently\nstored Mode configuration, so an empty body re-tests what's saved and a\npartial body tests a candidate change before it's written via a PATCH."},"SnowflakeAccountUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Display name for the account, as shown throughout SELECT."},"credentials":{"anyOf":[{"$ref":"#/components/schemas/SnowflakeCredentials"},{"type":"null"}],"description":"How SELECT authenticates to the account."},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username","description":"The Snowflake user SELECT connects as. Changes just the username, leaving the stored password or private key untouched. Cannot be sent alongside `credentials`, and not valid for an account using `workload_identity_federation`, which has no username.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role","description":"The Snowflake role SELECT assumes when reading this account. Null uses the user's default role."},"warehouse":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warehouse","description":"The Snowflake warehouse SELECT runs its queries on. Null uses the user's default warehouse."},"describe_object_sproc_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Describe Object Sproc Name","description":"Fully qualified name of the stored procedure SELECT calls to describe objects it cannot read directly. Null if there is none."},"export_storage_integration_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Storage Integration Name","description":"Name of the Snowflake storage integration used to export data to SELECT. Mutually exclusive with `export_stage_name`."},"export_stage_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Stage Name","description":"Fully qualified name of the Snowflake stage used to export data to SELECT. Mutually exclusive with `export_storage_integration_name`."},"compute_cost_per_credit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Compute Cost Per Credit","description":"Overrides the credit rate SELECT reads from Snowflake when costing compute. Required together with `storage_cost_per_tb` when the account cannot read organization-level rates."},"storage_cost_per_tb":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Storage Cost Per Tb","description":"Overrides the rate SELECT uses when costing storage, per terabyte per month. Required together with `compute_cost_per_credit` when the account cannot read organization-level rates."},"customer_side_sanitization_database_schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Side Sanitization Database Schema","description":"`DATABASE.SCHEMA` hosting your own sanitized copies of Snowflake's account usage views, which SELECT reads instead of the originals. Null disables the redirection."},"customer_side_sanitization_views":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Customer Side Sanitization Views","description":"The account usage views to redirect, such as `query_history`. Null redirects every view SELECT reads. Requires `customer_side_sanitization_database_schema`."},"excluded_users_filter_expression":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excluded Users Filter Expression","description":"JSON-encoded filter selecting Snowflake users whose activity is excluded from SELECT's cost and usage figures.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"fivetran_users":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Fivetran Users","description":"Snowflake users that Fivetran runs as, so their activity is attributed to Fivetran.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"mode_workspace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode Workspace","description":"The Mode workspace to attribute queries to."},"mode_token_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode Token Id","description":"Identifier of the Mode API token SELECT uses."},"mode_token_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode Token Secret","description":"The Mode API token secret. Cannot be cleared with null; disconnect Mode with `mode_workspace: null` instead.","writeOnly":true,"x-doit-confidentiality":"sensitive","x-terraform-sensitive":true},"sync_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sync Enabled","description":"Whether SELECT starts syncing data for this account."},"query_sanitization_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Query Sanitization Enabled","description":"Whether query text is sanitized before SELECT stores it."}},"type":"object","title":"SnowflakeAccountUpdate","description":"A merge-patch update to an existing Snowflake account. Omitted fields\nare left unchanged; `null` clears a field.\n\nEvery field mirrors its `SnowflakeAccountCreate` counterpart except `id`,\nwhich cannot be changed once the account is added. `name`, `credentials`,\n`sync_enabled` and `query_sanitization_enabled` cannot be cleared: they are\noptional here only so they can be omitted, and rejecting an explicit `null`\non them (rather than silently ignoring it) matches the JSON Merge Patch\ncontract that `null` means \"clear,\" which isn't a legal state for these.\n`mode_token_secret` cannot be cleared either, for a different reason: the\nsecret is only meaningful alongside `mode_workspace` and `mode_token_id`,\nso clearing it alone would leave the pair pointing at a Mode connection\nwith no secret behind it. Disconnect Mode entirely with `mode_workspace:\nnull`, which clears all three together.\n\n`username` is top-level rather than nested in `credentials` so the Snowflake\nuser can be corrected without resupplying a password or private key — the\nsame reason `mode_workspace`/`mode_token_id`/`mode_token_secret` are three\nseparate fields rather than one Mode object. It cannot be sent alongside\n`credentials`, which already carries its own `username`; picking a winner\nbetween the two silently would be worse than rejecting the request. It also\ncannot be cleared: a Snowflake user is always required for `password` and\n`key_pair`, and does not exist for `workload_identity_federation`, so there\nis no method for which `null` is a legal state."},"SnowflakeAccountValidationCheck":{"properties":{"id":{"type":"string","enum":["connectivity","permissions","describe_object_sproc","account_identity","org_admin","mode_bi"],"title":"Id","description":"Identifies which check this is."},"label":{"type":"string","title":"Label","description":"Short human-readable name for the check."},"status":{"type":"string","enum":["passed","failed","skipped"],"title":"Status","description":"`passed`, `failed`, or `skipped`. A check is skipped when it does not apply, or when an earlier check failed and stopped the run."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"What to change when the check failed, or why it was skipped. Null when the check passed with nothing worth noting."}},"type":"object","required":["id","label","status"],"title":"SnowflakeAccountValidationCheck","description":"One check SELECT runs against an account's configuration."},"SnowflakeAccountValidationReport":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether every applicable check passed."},"checks":{"items":{"$ref":"#/components/schemas/SnowflakeAccountValidationCheck"},"type":"array","title":"Checks","description":"The checks that ran, in the order they ran. Read top-down to find where setup stopped working."}},"type":"object","required":["success","checks"],"title":"SnowflakeAccountValidationReport","description":"The result of validating an account's configuration against Snowflake."},"SnowflakeCredentials":{"properties":{"authentication_method":{"type":"string","enum":["password","key_pair","workload_identity_federation"],"title":"Authentication Method","description":"Which authentication method SELECT uses for this account."},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username","description":"The Snowflake user SELECT connects as. Required for `password` and `key_pair`; omitted for `workload_identity_federation`."},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password","description":"That user's password. Required for `password`.","writeOnly":true,"x-doit-confidentiality":"sensitive","x-terraform-sensitive":true},"private_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Private Key","description":"PEM-encoded private key for that user, including the `-----BEGIN PRIVATE KEY-----` and `-----END PRIVATE KEY-----` lines. Required for `key_pair`.","writeOnly":true,"x-doit-confidentiality":"sensitive","x-terraform-sensitive":true},"private_key_passphrase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Private Key Passphrase","description":"Passphrase protecting the private key, if it is encrypted. Only valid for `key_pair`.","writeOnly":true,"x-doit-confidentiality":"sensitive","x-terraform-sensitive":true}},"type":"object","required":["authentication_method"],"title":"SnowflakeCredentials","description":"How SELECT authenticates to a Snowflake account.\n\nSupply the fields belonging to the chosen `authentication_method`:\n\n- `password` — `username` and `password`.\n- `key_pair` — `username` and `private_key`, plus `private_key_passphrase` if\n  the key is encrypted.\n- `workload_identity_federation` — nothing else. Snowflake resolves the user\n  from its own workload identity mapping.\n\nSupplying a field that does not belong to the chosen method is rejected, so a\nleftover value cannot silently change how SELECT connects."},"SnowflakeCredentialsInfo":{"properties":{"authentication_method":{"type":"string","enum":["password","key_pair","workload_identity_federation"],"title":"Authentication Method","description":"Which authentication method SELECT uses for this account.","readOnly":true,"x-terraform-computed":true},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username","description":"The Snowflake user SELECT connects as. Null for `workload_identity_federation`, where Snowflake resolves the user from its own workload identity mapping.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"private_key_passphrase_configured":{"type":"boolean","title":"Private Key Passphrase Configured","description":"Whether the stored private key is protected by a passphrase. The passphrase itself is never returned. False for the other authentication methods, which have no private key.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["authentication_method","private_key_passphrase_configured"],"title":"SnowflakeCredentialsInfo","description":"The non-secret half of how SELECT authenticates to a Snowflake account.\n\nReports which method SELECT uses and which Snowflake user it connects as,\nso authentication can be reviewed without exposing what proves it. There\nis no field for a password, private key, or passphrase — only whether a\npassphrase is set."},"Sort_ActionMeasureName_ActionDimensionName_":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_ActionDimensionName_"},{"$ref":"#/components/schemas/ActionDimensionName"},{"$ref":"#/components/schemas/SemiStructuredMeasure_ActionDimensionName_"},{"$ref":"#/components/schemas/ActionMeasureName"}],"title":"Field"},"direction":{"type":"string","enum":["asc","desc"],"title":"Direction"}},"type":"object","required":["field","direction"],"title":"Sort[ActionMeasureName, ActionDimensionName]"},"Sort_BudgetMeasureName_BudgetDimensionName_":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_BudgetDimensionName_"},{"$ref":"#/components/schemas/BudgetDimensionName"},{"$ref":"#/components/schemas/SemiStructuredMeasure_BudgetDimensionName_"},{"$ref":"#/components/schemas/BudgetMeasureName"}],"title":"Field"},"direction":{"type":"string","enum":["asc","desc"],"title":"Direction"}},"type":"object","required":["field","direction"],"title":"Sort[BudgetMeasureName, BudgetDimensionName]"},"Sort_DailyActionSavingsMeasures_DailyActionSavingsDimensions_":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_DailyActionSavingsDimensions_"},{"$ref":"#/components/schemas/DailyActionSavingsDimensions"},{"$ref":"#/components/schemas/SemiStructuredMeasure_DailyActionSavingsDimensions_"},{"$ref":"#/components/schemas/DailyActionSavingsMeasures"}],"title":"Field"},"direction":{"type":"string","enum":["asc","desc"],"title":"Direction"},"column_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Column Key"}},"type":"object","required":["field","direction"],"title":"Sort[DailyActionSavingsMeasures, DailyActionSavingsDimensions]"},"Sort_InsightMeasureName_InsightDimensionName_":{"properties":{"field":{"anyOf":[{"$ref":"#/components/schemas/SemiStructuredDimension_InsightDimensionName_"},{"$ref":"#/components/schemas/InsightDimensionName"},{"$ref":"#/components/schemas/SemiStructuredMeasure_InsightDimensionName_"},{"$ref":"#/components/schemas/InsightMeasureName"}],"title":"Field"},"direction":{"type":"string","enum":["asc","desc"],"title":"Direction"}},"type":"object","required":["field","direction"],"title":"Sort[InsightMeasureName, InsightDimensionName]"},"SrnResolveRequest":{"properties":{"resource_info":{"$ref":"#/components/schemas/ResourceInfo"},"org_id":{"type":"string","title":"Org Id"},"snowflake_org_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Org Name"},"snowflake_account_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Account Name"},"databricks_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Databricks Account Id"},"databricks_workspace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Databricks Workspace Id"},"bigquery_project":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bigquery Project"}},"type":"object","required":["resource_info","org_id"],"title":"SrnResolveRequest"},"SrnResolveResponse":{"properties":{"srn":{"type":"string","title":"Srn"}},"type":"object","required":["srn"],"title":"SrnResolveResponse"},"SsoGroupCreateV2":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"The group name, which must match the group as your identity provider reports it. This is also the group's id."},"roles":{"items":{"$ref":"#/components/schemas/SsoGroupRoleGrantCreateV2"},"type":"array","minItems":1,"title":"Roles","description":"The roles to grant the group's members. At least one is required — a group exists only for the roles it carries."}},"additionalProperties":false,"type":"object","required":["name","roles"],"title":"SsoGroupCreateV2"},"SsoGroupRoleGrantCreateV2":{"properties":{"role":{"$ref":"#/components/schemas/AccessRole","description":"The role to grant the group's members."},"scope":{"anyOf":[{"$ref":"#/components/schemas/RoleGrantScope"},{"type":"null"}],"description":"The resource the role applies to. Omit to grant it across the whole organization."}},"additionalProperties":false,"type":"object","required":["role"],"title":"SsoGroupRoleGrantCreateV2"},"SsoGroupRoleGrantV2":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of this role grant.","readOnly":true,"x-terraform-computed":true},"role":{"$ref":"#/components/schemas/AccessRole","description":"The role granted to the group's members."},"snowflake_organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Organization Name","description":"Snowflake organization this grant is scoped to, if any."},"snowflake_account_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Account Uuid","description":"Snowflake account this grant is scoped to, if any."},"usage_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Group Id","description":"Usage group this grant is scoped to, if any."},"entity":{"$ref":"#/components/schemas/PermissionEntityWithDisplayName","description":"The resolved scope this grant applies to — its type, id and human readable display name. Falls back to the organization when the grant carries no narrower scope.","readOnly":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the role was granted to the group — RFC 3339 UTC.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","role","entity","create_time"],"title":"SsoGroupRoleGrant","description":"A role granted to an SSO group, with the scope it applies to."},"SsoGroupUpdateV2":{"properties":{"name":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Name","description":"New name for the group. Because the name is the group's id, renaming moves it to a new URL. Omit to leave unchanged."}},"additionalProperties":false,"type":"object","title":"SsoGroupUpdateV2"},"SsoGroupV2":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the group, which is its name.","readOnly":true,"x-terraform-computed":true},"name":{"type":"string","title":"Name","description":"The group name as it appears in your identity provider."},"create_time":{"type":"string","title":"Create Time","description":"When the group's earliest role was granted — RFC 3339 UTC, e.g. 2026-06-05T10:30:00Z.","readOnly":true,"x-terraform-computed":true},"update_time":{"type":"string","title":"Update Time","description":"When any of the group's roles last changed — RFC 3339 UTC.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for optimistic concurrency.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","name","create_time","update_time","etag"],"title":"SsoGroup","description":"A group from your identity provider, and a carrier for the roles its\nmembers receive when they log in.\n\nA group is identified by its name: ``id`` and ``name`` always hold the same\nvalue. Renaming one therefore changes the other, and the group's URL with it."},"TableBlockConfig-Input":{"properties":{"query_class":{"type":"string","title":"Query Class"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"tooltip":{"type":"string","title":"Tooltip","default":""},"query_scope":{"$ref":"#/components/schemas/QueryScope","default":{"filters":[]}},"block_type":{"type":"string","const":"table","title":"Block Type"},"display":{"$ref":"#/components/schemas/TableDisplayConfig","default":{"columns":[],"pivot_columns":[],"pivot_col_limit":50,"row_limit":1000,"cell_rules":[],"collapsible_rows":false}}},"additionalProperties":false,"type":"object","required":["query_class","title","block_type"],"title":"TableBlockConfig"},"TableBlockConfig-Output":{"properties":{"query_class":{"type":"string","title":"Query Class"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"tooltip":{"type":"string","title":"Tooltip","default":""},"query_scope":{"$ref":"#/components/schemas/QueryScope","default":{"filters":[]}},"block_type":{"type":"string","const":"table","title":"Block Type"},"display":{"$ref":"#/components/schemas/TableDisplayConfig","default":{"columns":[],"pivot_columns":[],"pivot_col_limit":50,"row_limit":1000,"cell_rules":[],"collapsible_rows":false}}},"additionalProperties":false,"type":"object","required":["query_class","title","block_type"],"title":"TableBlockConfig"},"TableDisplayConfig":{"properties":{"columns":{"items":{"type":"string"},"type":"array","title":"Columns","default":[]},"table_mode":{"anyOf":[{"type":"string","enum":["table","pivot"]},{"type":"null"}],"title":"Table Mode"},"pivot_columns":{"items":{"type":"string"},"type":"array","title":"Pivot Columns","default":[]},"pivot_col_limit":{"type":"integer","title":"Pivot Col Limit","default":50},"row_limit":{"type":"integer","title":"Row Limit","default":1000},"sort_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort Key"},"sort_order":{"anyOf":[{"type":"string","enum":["asc","desc"]},{"type":"null"}],"title":"Sort Order"},"cell_rules":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Cell Rules","default":[]},"collapsible_rows":{"type":"boolean","title":"Collapsible Rows","default":false}},"additionalProperties":false,"type":"object","title":"TableDisplayConfig"},"TableauConnection":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the connection.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for this connection's configuration. Matches the `ETag` response header, and is what `If-Match` requires on a write. It changes whenever a configurable field on the connection changes.","readOnly":true,"x-terraform-computed":true},"name":{"type":"string","title":"Name","description":"Display name for the connection, as shown throughout SELECT."},"connection_id":{"type":"string","title":"Connection Id","description":"Identifier of the connection resource this Tableau connection belongs to (see `GET /v2/connections/{connection_id}`). Distinct from `id`, which identifies this Tableau connection specifically.","readOnly":true,"x-terraform-computed":true},"server_url":{"type":"string","title":"Server Url","description":"Base URL of the Tableau deployment SELECT connects to, without a site path — for example `https://us-east-1.online.tableau.com`."},"site_name":{"type":"string","title":"Site Name","description":"The site on that deployment SELECT reads. This is the site's URL name, which is what Tableau signs in against; `Default` names the default site of a Tableau Server deployment."},"site_luid":{"type":"string","title":"Site Luid","description":"The identifier Tableau assigns the site, resolved when the connection is added. Unlike `site_name` it survives a rename, so it is what SELECT keys the site's data and access rules on.","readOnly":true,"x-terraform-computed":true},"sync_enabled":{"type":"boolean","title":"Sync Enabled","description":"Whether SELECT is currently syncing data for this connection."},"query_sanitization_enabled":{"type":"boolean","title":"Query Sanitization Enabled","description":"Whether query text is sanitized before SELECT stores it."},"added_by_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Added By Email","description":"Email address of the person who added the connection. Null when it was not added by a person.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"last_successful_sync_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Successful Sync Time","description":"When SELECT last completed a sync for this connection. Null before the first one succeeds.","readOnly":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the connection was added.","readOnly":true,"x-terraform-computed":true},"update_time":{"type":"string","title":"Update Time","description":"When the connection was last changed.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","etag","name","connection_id","server_url","site_name","site_luid","sync_enabled","query_sanitization_enabled","create_time","update_time"],"title":"TableauConnection","description":"A connection to one Tableau site."},"TableauConnectionCreate":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Display name for the connection, as shown throughout SELECT."},"server_url":{"type":"string","title":"Server Url","description":"Base URL of the Tableau deployment to connect to, including the scheme and without a site path — for example `https://us-east-1.online.tableau.com`."},"site_name":{"type":"string","minLength":1,"title":"Site Name","description":"The site on that deployment to read. Use the site's URL name; pass `Default` for the default site of a Tableau Server deployment."},"credentials":{"$ref":"#/components/schemas/TableauCredentials","description":"The personal access token SELECT authenticates with. Validated against Tableau before the connection is added."},"sync_enabled":{"type":"boolean","title":"Sync Enabled","description":"Whether SELECT starts syncing data for this connection.","default":true},"query_sanitization_enabled":{"type":"boolean","title":"Query Sanitization Enabled","description":"Whether query text is sanitized before SELECT stores it.","default":false}},"type":"object","required":["name","server_url","site_name","credentials"],"title":"TableauConnectionCreate","description":"A Tableau connection to add."},"TableauConnectionUpdate":{"properties":{"name":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Name","description":"Display name for the connection, as shown throughout SELECT."},"server_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Server Url","description":"Base URL of the Tableau deployment to connect to, including the scheme and without a site path."},"site_name":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Site Name","description":"The site on that deployment to read, by its URL name."},"credentials":{"anyOf":[{"$ref":"#/components/schemas/TableauCredentials"},{"type":"null"}],"description":"The personal access token SELECT authenticates with. Revalidated against Tableau before it is stored."},"sync_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sync Enabled","description":"Whether SELECT is currently syncing data for this connection."},"query_sanitization_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Query Sanitization Enabled","description":"Whether query text is sanitized before SELECT stores it."}},"type":"object","title":"TableauConnectionUpdate","description":"A merge-patch update to an existing connection. Omitted fields are left\nunchanged; `null` clears a field.\n\nMirrors `TableauConnectionCreate`. Every field is required when present and\ncannot be cleared with `null`.\n\nA connection stays pointed at the site it was added for. `server_url` and\n`site_name` may be corrected, but the change is rejected if the corrected\npair resolves to a different site — add a second connection for that site\ninstead.\n\nRotating credentials is atomic: the token name and secret move together,\nsince `TableauCredentials` requires both."},"TableauConnectionValidationCheck":{"properties":{"id":{"type":"string","enum":["connectivity","site_identity"],"title":"Id","description":"Identifies which check this is."},"label":{"type":"string","title":"Label","description":"Short human-readable name for the check."},"status":{"type":"string","enum":["passed","failed","skipped"],"title":"Status","description":"`passed`, `failed`, or `skipped`. A check is skipped only when an earlier check already failed and stopped the run."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"What to change when the check failed, or why it was skipped. Null when the check passed with nothing worth noting."},"docs_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Docs Link","description":"Link to the setup documentation covering what the check found. Null when no page addresses it specifically."}},"type":"object","required":["id","label","status"],"title":"TableauConnectionValidationCheck","description":"One check SELECT runs against a connection's configuration."},"TableauConnectionValidationReport":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether every applicable check passed."},"checks":{"items":{"$ref":"#/components/schemas/TableauConnectionValidationCheck"},"type":"array","title":"Checks","description":"The checks that ran, in the order they ran. Read top-down to find where setup stopped working."}},"type":"object","required":["success","checks"],"title":"TableauConnectionValidationReport","description":"The result of validating a connection's configuration against Tableau."},"TableauCredentials":{"properties":{"personal_access_token_name":{"type":"string","minLength":1,"title":"Personal Access Token Name","description":"Name of the personal access token SELECT authenticates with."},"personal_access_token_secret":{"type":"string","minLength":1,"title":"Personal Access Token Secret","description":"The secret Tableau issued when that token was created.","writeOnly":true,"x-doit-confidentiality":"sensitive","x-terraform-sensitive":true}},"type":"object","required":["personal_access_token_name","personal_access_token_secret"],"title":"TableauCredentials","description":"How SELECT authenticates to a Tableau site.\n\nA personal access token. Create it on a Tableau user with access to the site\nSELECT should read; SELECT reads nothing that user cannot.\n\nThe name and the secret are one credential and are always supplied together:\na Tableau user can hold several tokens, so the name selects which one and the\nsecret proves it. Supplying a name without its own secret authenticates as\nneither."},"TableauCredentialsInfo":{"properties":{"personal_access_token_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Personal Access Token Name","description":"Name of the personal access token SELECT authenticates with. Null for a connection whose credentials have not been configured yet.","readOnly":true,"x-terraform-computed":true}},"type":"object","title":"TableauCredentialsInfo","description":"The non-secret half of how SELECT authenticates to a Tableau site.\n\nReports which personal access token SELECT connects with, so a connection's\nauthentication can be reviewed without exposing what proves it. There is no\nfield for the token secret — only whether it's configured."},"TeamCreateV2":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the team."},"default_member_role":{"$ref":"#/components/schemas/TeamRoleEnum","description":"Default role for members added to this team.","default":"editor"},"is_all_users":{"type":"boolean","title":"Is All Users","description":"Whether the team automatically includes every organization member.","default":false}},"additionalProperties":false,"type":"object","required":["name"],"title":"TeamCreateV2"},"TeamMemberCreateV2":{"properties":{"type":{"$ref":"#/components/schemas/TeamMemberType","description":"Whether to add an individual user or an SSO group."},"identifier":{"type":"string","title":"Identifier","description":"Email address for a user, or group name for an SSO group.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"role":{"$ref":"#/components/schemas/TeamRoleEnum","description":"The member's role within the team.","default":"editor"}},"additionalProperties":false,"type":"object","required":["type","identifier"],"title":"TeamMemberCreateV2"},"TeamMemberType":{"type":"string","enum":["user","sso_group"],"title":"TeamMemberType","description":"Whether a team member is an individual user or an SSO group."},"TeamMemberUpdateV2":{"properties":{"role":{"anyOf":[{"$ref":"#/components/schemas/TeamRoleEnum"},{"type":"null"}],"description":"New role for the member. Omit to leave unchanged."}},"additionalProperties":false,"type":"object","title":"TeamMemberUpdateV2"},"TeamMemberV2":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of this membership.","readOnly":true,"x-terraform-computed":true},"type":{"$ref":"#/components/schemas/TeamMemberType","description":"Whether the member is an individual user or an SSO group."},"identifier":{"type":"string","title":"Identifier","description":"Email address for a user, or group name for an SSO group.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"role":{"$ref":"#/components/schemas/TeamRoleEnum","description":"The member's role within the team."},"create_time":{"type":"string","title":"Create Time","description":"When the member was added to the team — RFC 3339 UTC.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for optimistic concurrency.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","type","identifier","role","create_time","etag"],"title":"TeamMember","description":"A user or SSO group granted membership on a team."},"TeamMembersV2":{"properties":{"team_id":{"type":"string","title":"Team Id","description":"The team the memberships belong to."},"members":{"items":{"$ref":"#/components/schemas/TeamMemberV2"},"type":"array","title":"Members","description":"Explicit memberships created on this team by the update."}},"type":"object","required":["team_id","members"],"title":"TeamMembers","description":"The explicit memberships set on a single team by a batch membership update."},"TeamMembershipUpdateV2":{"properties":{"team_id":{"type":"string","title":"Team Id","description":"The team to set membership on."},"role":{"$ref":"#/components/schemas/TeamRoleEnum","description":"Role to grant each listed user on this team."}},"additionalProperties":false,"type":"object","required":["team_id","role"],"title":"TeamMembershipUpdateV2"},"TeamRoleEnum":{"type":"string","enum":["admin","editor","viewer"],"title":"TeamRoleEnum","description":"Defines the permission level of a user within a team:\n- ADMIN: Administers the team — its settings and the roles held on it\n- EDITOR: Manages team resources, creates and modifies shared items\n- VIEWER: Reads team resources with limited interaction capabilities"},"TeamRoleGrantCreateV2":{"properties":{"role":{"$ref":"#/components/schemas/AccessRole","description":"The role to grant the team's members."},"scope":{"anyOf":[{"$ref":"#/components/schemas/RoleGrantScope"},{"type":"null"}],"description":"The resource the role applies to. Omit to grant it across the whole organization. A usage group can only be granted the viewer role."}},"additionalProperties":false,"type":"object","required":["role"],"title":"TeamRoleGrantCreateV2"},"TeamRoleGrantV2":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of this role grant.","readOnly":true,"x-terraform-computed":true},"role":{"$ref":"#/components/schemas/AccessRole","description":"The role granted to the team's members."},"snowflake_organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Organization Name","description":"Snowflake organization this grant is scoped to, if any."},"snowflake_account_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Account Uuid","description":"Snowflake account this grant is scoped to, if any."},"usage_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Group Id","description":"Usage group this grant is scoped to, if any."},"entity":{"$ref":"#/components/schemas/PermissionEntityWithDisplayName","description":"The resolved scope this grant applies to — its type, id and human readable display name. Falls back to the organization when the grant carries no narrower scope.","readOnly":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the role was granted to the team — RFC 3339 UTC.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","role","entity","create_time"],"title":"TeamRoleGrant","description":"A role granted to a team, with the scope it applies to."},"TeamUpdateV2":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"New team name. Omit to leave unchanged."},"default_member_role":{"anyOf":[{"$ref":"#/components/schemas/TeamRoleEnum"},{"type":"null"}],"description":"New default member role. Omit to leave unchanged."},"is_all_users":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is All Users","description":"Whether the team automatically includes every organization member. Omit to leave unchanged."}},"additionalProperties":false,"type":"object","title":"TeamUpdateV2"},"TeamV2":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the team.","readOnly":true,"x-terraform-computed":true},"name":{"type":"string","title":"Name","description":"The name of the team."},"is_all_users":{"type":"boolean","title":"Is All Users","description":"Whether this team automatically includes every organization member."},"default_member_role":{"$ref":"#/components/schemas/TeamRoleEnum","description":"Default role for members added to this team."},"create_time":{"type":"string","title":"Create Time","description":"When the team was created — RFC 3339 UTC, e.g. 2026-06-05T10:30:00Z.","readOnly":true,"x-terraform-computed":true},"update_time":{"type":"string","title":"Update Time","description":"When the team was last updated — RFC 3339 UTC.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for optimistic concurrency.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","name","is_all_users","default_member_role","create_time","update_time","etag"],"title":"Team","description":"A team groups organization members for scoped access to SELECT resources."},"TextBlockConfig":{"properties":{"block_type":{"type":"string","const":"text","title":"Block Type"},"content":{"type":"string","title":"Content","default":""}},"additionalProperties":false,"type":"object","required":["block_type"],"title":"TextBlockConfig"},"TicketCreateAndLink":{"properties":{"srn":{"type":"string","maxLength":2048,"minLength":1,"title":"Srn","description":"The canonical SELECT Resource Name (SRN) of the resource the issue is linked to. Resolve one from a resource's identifying details with `POST /v2/srn/actions/resolve`."},"integration_id":{"type":"string","title":"Integration Id","description":"Identifier of the ticketing integration to create the issue in."},"project_key":{"type":"string","title":"Project Key","description":"The project to create the issue in, such as `ENG`."},"issue_type_id":{"type":"string","title":"Issue Type Id","description":"Identifier of the issue type to create, such as a bug or a task."},"title":{"type":"string","maxLength":255,"title":"Title","description":"The issue's summary line."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"The issue's description."},"priority_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Priority Id","description":"Identifier of the priority to set on the issue."},"assignee_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignee Account Id","description":"Identifier of the account to assign the issue to."},"epic_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Epic Key","description":"Key of the epic to file the issue under, such as `ENG-1`."}},"additionalProperties":false,"type":"object","required":["srn","integration_id","project_key","issue_type_id","title"],"title":"TicketCreateAndLink","description":"Create an issue in the ticketing system and link it to a resource."},"TicketLink":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the link.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for this link. Matches the `ETag` response header, and changes whenever the mirrored title, status or assignee is refreshed.","readOnly":true,"x-terraform-computed":true},"srn":{"type":"string","title":"Srn","description":"The canonical SELECT Resource Name (SRN) of the resource the issue is linked to. Resolve one from a resource's identifying details with `POST /v2/srn/actions/resolve`.","readOnly":true,"x-terraform-computed":true},"provider":{"type":"string","const":"jira","title":"Provider","description":"The ticketing system the issue lives in.","readOnly":true,"x-terraform-computed":true},"integration_id":{"type":"string","title":"Integration Id","description":"Identifier of the ticketing integration the issue belongs to.","readOnly":true,"x-terraform-computed":true},"ticket_id":{"type":"string","title":"Ticket Id","description":"The issue's identifier in the ticketing system.","readOnly":true,"x-terraform-computed":true},"ticket_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticket Key","description":"The issue's human-readable key, such as `ENG-123`.","readOnly":true,"x-terraform-computed":true},"ticket_url":{"type":"string","title":"Ticket Url","description":"Link to the issue in the ticketing system.","readOnly":true,"x-terraform-computed":true},"ticket_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticket Title","description":"The issue's summary line.","readOnly":true,"x-terraform-computed":true},"ticket_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticket Status","description":"The issue's status in the ticketing system, such as `In Progress`.","readOnly":true,"x-terraform-computed":true},"ticket_assignee":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticket Assignee","description":"Display name of the person the issue is assigned to.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"is_disconnected":{"type":"boolean","title":"Is Disconnected","description":"Whether the issue no longer exists in the ticketing system. A disconnected link stays listed so the loss is visible, and its title, status and assignee stay as they were at the last successful read.","default":false,"readOnly":true,"x-terraform-computed":true},"sync_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sync Time","description":"When the issue's title, status and assignee were last read from the ticketing system, as an RFC 3339 UTC timestamp. Those fields reflect the issue as of this time, not necessarily its current state.","readOnly":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the link was created, as an RFC 3339 UTC timestamp.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","etag","srn","provider","integration_id","ticket_id","ticket_url","create_time"],"title":"TicketLink","description":"An issue in an external ticketing system, linked to a SELECT resource."},"TicketLinkBatchGet":{"properties":{"srns":{"items":{"type":"string","maxLength":2048},"type":"array","maxItems":1000,"minItems":1,"title":"Srns","description":"The SRNs of the resources to read links for."}},"additionalProperties":false,"type":"object","required":["srns"],"title":"TicketLinkBatchGet","description":"Look up the links on many resources in one request."},"TicketLinkBatchGetResults":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TicketLink"},"type":"array","title":"Items"},"page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token","description":"Opaque cursor for the next page; empty/absent on the last page."},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count","description":"Best-effort total for the filtered result set; may be null when expensive."},"missing":{"items":{"type":"string"},"type":"array","title":"Missing","description":"Requested SRNs that could not be read, because they are malformed or name another organization."}},"type":"object","required":["items"],"title":"TicketLinkBatchGetResults","description":"Links across the requested resources.\n\n`items` is a flat list covering every requested resource, and each link names\nits own `srn`. A resource with no links is simply absent from `items`."},"TicketLinkCreate":{"properties":{"srn":{"type":"string","maxLength":2048,"minLength":1,"title":"Srn","description":"The canonical SELECT Resource Name (SRN) of the resource the issue is linked to. Resolve one from a resource's identifying details with `POST /v2/srn/actions/resolve`."},"integration_id":{"type":"string","title":"Integration Id","description":"Identifier of the ticketing integration the issue belongs to."},"ticket_id":{"type":"string","title":"Ticket Id","description":"The issue to link, given either as its key (`ENG-123`) or as its identifier in the ticketing system."}},"additionalProperties":false,"type":"object","required":["srn","integration_id","ticket_id"],"title":"TicketLinkCreate","description":"Link an issue that already exists in the ticketing system to a resource."},"TicketSuggestion":{"properties":{"title":{"type":"string","title":"Title","description":"Suggested summary line for the issue."},"description":{"type":"string","title":"Description","description":"Suggested description for the issue, covering what the resource is, why it needs attention and what to do about it."},"request_id":{"type":"string","title":"Request Id","description":"Identifier for this generation. Quote it when reporting a problem with the suggested wording."}},"type":"object","required":["title","description","request_id"],"title":"TicketSuggestion","description":"Suggested wording for an issue about a SELECT resource."},"TicketSuggestionRequest":{"properties":{"srn":{"type":"string","maxLength":2048,"minLength":1,"title":"Srn","description":"The canonical SELECT Resource Name (SRN) of the resource the issue would be about. Resolve one from a resource's identifying details with `POST /v2/srn/actions/resolve`."}},"additionalProperties":false,"type":"object","required":["srn"],"title":"TicketSuggestionRequest","description":"Identifies the resource an issue would be written about."},"UsageGroupCreateV2":{"properties":{"name":{"type":"string","title":"Name"},"budget":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Budget"},"filter_expression":{"$ref":"#/components/schemas/backend__entities__metrics__base__schemas__filters__FilterExpression_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions____1"},"order":{"type":"integer","minimum":0.0,"title":"Order"}},"type":"object","required":["name","filter_expression","order"],"title":"UsageGroupCreateV2"},"UsageGroupDetails":{"properties":{"set_name":{"type":"string","title":"Set Name"},"group_name":{"type":"string","title":"Group Name"}},"type":"object","required":["set_name","group_name"],"title":"UsageGroupDetails","description":"Details about a usage group entity.\n\nThis is only populated when the entity type is USAGE_GROUP."},"UsageGroupReplaceV2":{"properties":{"name":{"type":"string","title":"Name"},"budget":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Budget"},"filter_expression":{"$ref":"#/components/schemas/backend__entities__metrics__base__schemas__filters__FilterExpression_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions____1"},"order":{"type":"integer","minimum":0.0,"title":"Order"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Existing usage group id to keep across the replace. Omit it (or pass an id that is not in this set) to create a new usage group."}},"type":"object","required":["name","filter_expression","order"],"title":"UsageGroupReplaceV2","description":"One item of a bulk `PUT .../usage-groups` collection replace."},"UsageGroupSetCreateV2":{"properties":{"name":{"type":"string","maxLength":199,"title":"Name","description":"Name of the usage group set. Must be less than 200 characters, and unique within the organization, ignoring case and surrounding whitespace."},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Team Id"},"public":{"type":"boolean","title":"Public","description":"Whether the set is visible to all org members for filtering.","default":false},"order":{"type":"integer","minimum":0.0,"title":"Order","description":"Display order; lower values appear first."}},"type":"object","required":["name","order"],"title":"UsageGroupSetCreateV2"},"UsageGroupSetUpdateV2":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":199},{"type":"null"}],"title":"Name","description":"Must be unique within the organization, ignoring case and surrounding whitespace."},"order":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Order"},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Team Id"},"public":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Public"},"version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Version","description":"Set to the current version + 1 to snapshot the current groups as a new version. Any other value is rejected; omit it to leave versions untouched."}},"additionalProperties":false,"type":"object","title":"UsageGroupSetUpdateV2"},"UsageGroupSetV2":{"properties":{"name":{"type":"string","maxLength":199,"title":"Name","description":"Name of the usage group set. Must be less than 200 characters, and unique within the organization, ignoring case and surrounding whitespace."},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Team Id"},"public":{"type":"boolean","title":"Public","description":"Whether the set is visible to all org members for filtering.","default":false},"order":{"type":"integer","minimum":0.0,"title":"Order","description":"Display order; lower values appear first."},"id":{"type":"string","title":"Id","description":"The unique identifier of the usage group set.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for optimistic concurrency.","readOnly":true,"x-terraform-computed":true},"version":{"type":"integer","title":"Version","description":"Number of committed versions (snapshots). Increment it by one in a PATCH to snapshot the current groups as a new version; ordinary group edits mutate the current version in place and leave it unchanged."},"insights_sync_pending":{"type":"boolean","title":"Insights Sync Pending","description":"Whether this set changed after the nightly job last synced usage groups onto insights — insight rows may not reflect the current definitions until the next sync (up to ~36 hours).","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["name","order","id","etag","version","insights_sync_pending"],"title":"UsageGroupSetV2"},"UsageGroupSetVersionWithUsageGroupsV2":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the version.","readOnly":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the version was snapshotted — RFC 3339 UTC.","readOnly":true,"x-terraform-computed":true},"created_by":{"type":"string","title":"Created By","description":"Identity that snapshotted the version — the user's email, or an API key id for machine callers.","readOnly":true,"x-doit-confidentiality":"customer-data","x-doit-pii":true,"x-terraform-computed":true},"usage_group_set_id":{"type":"string","title":"Usage Group Set Id","description":"The usage group set this version belongs to.","readOnly":true,"x-terraform-computed":true},"usage_groups":{"items":{"$ref":"#/components/schemas/UsageGroupV2"},"type":"array","title":"Usage Groups"}},"type":"object","required":["id","create_time","created_by","usage_group_set_id","usage_groups"],"title":"UsageGroupSetVersionWithUsageGroupsV2"},"UsageGroupSetWithUsageGroupsV2":{"properties":{"name":{"type":"string","maxLength":199,"title":"Name","description":"Name of the usage group set. Must be less than 200 characters, and unique within the organization, ignoring case and surrounding whitespace."},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Team Id"},"public":{"type":"boolean","title":"Public","description":"Whether the set is visible to all org members for filtering.","default":false},"order":{"type":"integer","minimum":0.0,"title":"Order","description":"Display order; lower values appear first."},"id":{"type":"string","title":"Id","description":"The unique identifier of the usage group set.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for optimistic concurrency.","readOnly":true,"x-terraform-computed":true},"version":{"type":"integer","title":"Version","description":"Number of committed versions (snapshots). Increment it by one in a PATCH to snapshot the current groups as a new version; ordinary group edits mutate the current version in place and leave it unchanged."},"insights_sync_pending":{"type":"boolean","title":"Insights Sync Pending","description":"Whether this set changed after the nightly job last synced usage groups onto insights — insight rows may not reflect the current definitions until the next sync (up to ~36 hours).","readOnly":true,"x-terraform-computed":true},"usage_groups":{"items":{"$ref":"#/components/schemas/UsageGroupV2"},"type":"array","title":"Usage Groups"}},"type":"object","required":["name","order","id","etag","version","insights_sync_pending","usage_groups"],"title":"UsageGroupSetWithUsageGroupsV2"},"UsageGroupUpdateV2":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"budget":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Budget"},"order":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Order"},"filter_expression":{"anyOf":[{"$ref":"#/components/schemas/backend__entities__metrics__base__schemas__filters__FilterExpression_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input__2"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"UsageGroupUpdateV2"},"UsageGroupV2":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the usage group.","readOnly":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the usage group was created — RFC 3339 UTC.","readOnly":true,"x-terraform-computed":true},"update_time":{"type":"string","title":"Update Time","description":"When the usage group was last updated — RFC 3339 UTC.","readOnly":true,"x-terraform-computed":true},"usage_group_set_id":{"type":"string","title":"Usage Group Set Id","description":"The usage group set this usage group belongs to.","readOnly":true,"x-terraform-computed":true},"name":{"type":"string","title":"Name"},"budget":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Budget"},"order":{"type":"integer","title":"Order"},"filter_expression":{"$ref":"#/components/schemas/FilterExpression_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output"},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for optimistic concurrency.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","create_time","update_time","usage_group_set_id","name","order","filter_expression","etag"],"title":"UsageGroupV2"},"UserRoleGrantCreateV2":{"properties":{"role":{"$ref":"#/components/schemas/AccessRole","description":"The role to grant the user."},"scope":{"anyOf":[{"$ref":"#/components/schemas/RoleGrantScope"},{"type":"null"}],"description":"The resource the role applies to. Omit to grant it across the whole organization."}},"additionalProperties":false,"type":"object","required":["role"],"title":"UserRoleGrantCreateV2"},"UserRoleGrantUpdateV2":{"properties":{"role":{"anyOf":[{"$ref":"#/components/schemas/AccessRole"},{"type":"null"}],"description":"New role for the user. Omit to leave unchanged."}},"additionalProperties":false,"type":"object","title":"UserRoleGrantUpdateV2"},"UserRoleGrantV2":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of this role grant.","readOnly":true,"x-terraform-computed":true},"role":{"$ref":"#/components/schemas/AccessRole","description":"The role the user holds."},"snowflake_organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Organization Name","description":"Snowflake organization this grant is scoped to, if any."},"snowflake_account_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Account Uuid","description":"Snowflake account this grant is scoped to, if any."},"usage_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Group Id","description":"Usage group this grant is scoped to, if any."},"entity":{"$ref":"#/components/schemas/PermissionEntityWithDisplayName","description":"The resolved scope this grant applies to — its type, id and human readable display name. Falls back to the organization when the grant carries no narrower scope.","readOnly":true,"x-terraform-computed":true},"is_default":{"type":"boolean","title":"Is Default","description":"Whether this role applies to everyone in the organization by default rather than being granted to this user.","readOnly":true,"x-terraform-computed":true},"granted_from_team_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Granted From Team Name","description":"The team this role is inherited from, when the user holds it through team membership rather than directly.","readOnly":true,"x-terraform-computed":true},"create_time":{"type":"string","title":"Create Time","description":"When the role was granted — RFC 3339 UTC, e.g. 2026-06-05T10:30:00Z.","readOnly":true,"x-terraform-computed":true},"update_time":{"type":"string","title":"Update Time","description":"When the grant was last updated — RFC 3339 UTC.","readOnly":true,"x-terraform-computed":true},"etag":{"type":"string","title":"Etag","description":"Opaque strong ETag for optimistic concurrency.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","role","entity","is_default","granted_from_team_name","create_time","update_time","etag"],"title":"UserRoleGrant","description":"A role a user holds, with the scope it applies to.\n\nA user holds a role in one of three ways: granted to them directly, inherited\nfrom a team they belong to, or applied to everyone in the organization by\ndefault. Only a direct grant can be changed — the other two are edited at\ntheir source."},"UserRoleGrantsV2":{"properties":{"email_address":{"type":"string","title":"Email Address","description":"The user these role grants belong to.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"roles":{"items":{"$ref":"#/components/schemas/UserRoleGrantV2"},"type":"array","title":"Roles","description":"Direct role grants created on this user by the update."}},"type":"object","required":["email_address","roles"],"title":"UserRoleGrants","description":"The direct role grants set on a single user by a batch role update."},"UserV2":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the user.","readOnly":true,"x-terraform-computed":true},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"The user's display name."},"email_address":{"type":"string","title":"Email Address","description":"The user's email address.","x-doit-confidentiality":"customer-data","x-doit-pii":true},"identity_provider":{"type":"string","title":"Identity Provider","description":"The identity provider the user authenticates through.","readOnly":true,"x-terraform-computed":true},"picture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture","description":"URL of the user's profile picture, if available.","readOnly":true,"x-terraform-computed":true},"last_login_sso_groups":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Last Login Sso Groups","description":"SSO groups the user belonged to at their most recent login.","readOnly":true,"x-terraform-computed":true},"num_pages_visited_last_2_months":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Pages Visited Last 2 Months","description":"Number of app pages the user visited in the last two months.","readOnly":true,"x-terraform-computed":true},"last_login_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Login Time","description":"When the user last logged in — RFC 3339 UTC, e.g. 2026-06-05T10:30:00Z.","readOnly":true,"x-terraform-computed":true},"last_activity_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Activity Time","description":"When the user was last active in the app — RFC 3339 UTC.","readOnly":true,"x-terraform-computed":true}},"type":"object","required":["id","name","email_address","identity_provider","picture","last_login_sso_groups","num_pages_visited_last_2_months","last_login_time","last_activity_time"],"title":"User","description":"A member of an organization, with their SELECT usage activity."},"backend__entities__metrics__base__schemas__filters__FilterExpression_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input__2":{"properties":{"operator":{"type":"string","enum":["and","or"],"title":"Operator"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/backend__entities__metrics__base__schemas__filters__FilterExpression_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input__2"},{"$ref":"#/components/schemas/EqFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input"},{"$ref":"#/components/schemas/InFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input"},{"$ref":"#/components/schemas/ArrayContainsFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input"},{"$ref":"#/components/schemas/IsFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input"},{"$ref":"#/components/schemas/LikeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input"},{"$ref":"#/components/schemas/MultiLikeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input"}]},"type":"array","title":"Filters"},"component_type":{"anyOf":[{"type":"string","const":"Resource Filter"},{"type":"null"}],"title":"Component Type"}},"type":"object","required":["operator","filters"],"title":"FilterExpression[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"backend__entities__metrics__base__schemas__filters__FilterExpression_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions____1":{"properties":{"operator":{"type":"string","enum":["and","or"],"title":"Operator"},"filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/backend__entities__metrics__base__schemas__filters__FilterExpression_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions____1"},{"$ref":"#/components/schemas/EqFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input"},{"$ref":"#/components/schemas/InFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input"},{"$ref":"#/components/schemas/ArrayContainsFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input"},{"$ref":"#/components/schemas/IsFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input"},{"$ref":"#/components/schemas/LikeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input"},{"$ref":"#/components/schemas/MultiLikeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input"},{"$ref":"#/components/schemas/InRelativeDateRangeFilter_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input"}]},"type":"array","title":"Filters"},"component_type":{"anyOf":[{"type":"string","const":"Resource Filter"},{"type":"null"}],"title":"Component Type"}},"type":"object","required":["operator","filters"],"title":"FilterExpression[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"}},"securitySchemes":{"HTTPBearer":{"type":"http","description":"Organization API key (sl_…).","scheme":"bearer"}},"responses":{"BadRequest":{"description":"Bad request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"headers":{"WWW-Authenticate":{"description":"Authentication challenge for the requested resource.","required":true,"schema":{"type":"string"}}}},"Forbidden":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"NotFound":{"description":"Not found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"MethodNotAllowed":{"description":"Method not allowed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"headers":{"Allow":{"description":"HTTP methods supported by the requested resource.","required":true,"schema":{"type":"string"}}}},"RequestTimeout":{"description":"Request Timeout","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"Conflict":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"PreconditionFailed":{"description":"Precondition failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"ValidationFailed":{"description":"Validation failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"PreconditionRequired":{"description":"Precondition required","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"RateLimited":{"description":"Rate limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"headers":{"Retry-After":{"description":"Number of seconds to wait before retrying the request.","required":true,"schema":{"type":"integer","minimum":0}}}},"InternalError":{"description":"Internal error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"ServiceUnavailable":{"description":"Service unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"headers":{"Retry-After":{"description":"Number of seconds to wait before retrying the request.","required":true,"schema":{"type":"integer","minimum":0}}}}}}}