{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/api/{organization_id}/users":{"get":{"tags":["users","public-api"],"summary":"List users","description":"Retrieve all users in an organization with pagination.","operationId":"get_organization_users_route_api__organization_id__users_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":1000,"minimum":1},{"type":"null"}],"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicListUsersResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/snowflake-accounts/{snowflake_account_uuid}/credentials":{"put":{"tags":["snowflake-accounts","public-api"],"summary":"Update Snowflake Account Credentials","operationId":"update_snowflake_account_credentials_api_snowflake_accounts__snowflake_account_uuid__credentials_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"snowflake_account_uuid","in":"path","required":true,"schema":{"type":"string","title":"Snowflake Account Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnowflakeKeyPairCredentialsIn","description":"The new key pair credentials for SELECT to access your Snowflake account with."}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/usage-group-sets":{"post":{"tags":["usage-group-sets","public-api"],"summary":"Create a usage group set","description":"Create a new usage group set within an organization. Usage group sets are collections of usage groups that help organize and categorize your Snowflake usage tracking.","operationId":"create_usage_group_set_route_api__organization_id__usage_group_sets_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUsageGroupSetCreate","description":"The usage group set configuration to create. Can be scoped to a specific team or default to Select organization scope."}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUsageGroupSet"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["usage-group-sets","public-api"],"summary":"List usage group sets","description":"Retrieve all usage group sets within an organization that the API key has access to.","operationId":"list_usage_group_sets_route_api__organization_id__usage_group_sets_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PublicUsageGroupSet"},"title":"Response List Usage Group Sets Route Api  Organization Id  Usage Group Sets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/usage-group-sets/{usage_group_set_id}":{"get":{"tags":["usage-group-sets","public-api"],"summary":"Get a usage group set","description":"Retrieve a specific usage group set by its ID.","operationId":"get_usage_group_set_route_api__organization_id__usage_group_sets__usage_group_set_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the usage group set","title":"Usage Group Set Id"},"description":"The ID of the usage group set"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUsageGroupSet"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["usage-group-sets","public-api"],"summary":"Update a usage group set","description":"Update an existing usage group set. Only the provided fields will be updated.","operationId":"update_usage_group_set_route_api__organization_id__usage_group_sets__usage_group_set_id__put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the usage group set to update","title":"Usage Group Set Id"},"description":"The ID of the usage group set to update"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUsageGroupSetUpdate","description":"The usage group set updates to apply. Only specified fields will be updated."}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUsageGroupSet"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["usage-group-sets","public-api"],"summary":"Delete a usage group set","description":"Delete a usage group set and all its associated usage groups.","operationId":"delete_usage_group_set_route_api__organization_id__usage_group_sets__usage_group_set_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the usage group set to delete","title":"Usage Group Set Id"},"description":"The ID of the usage group set to delete"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/usage-group-sets/{usage_group_set_id}/usage-groups":{"get":{"tags":["usage-group-sets","public-api"],"summary":"List usage groups","description":"Retrieve all usage groups within a specific usage group set.","operationId":"get_usage_groups_route_api__organization_id__usage_group_sets__usage_group_set_id__usage_groups_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the usage group set","title":"Usage Group Set Id"},"description":"The ID of the usage group set"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PublicUsageGroup"},"title":"Response Get Usage Groups Route Api  Organization Id  Usage Group Sets  Usage Group Set Id  Usage Groups Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["usage-group-sets","public-api"],"summary":"Create a usage group","description":"Create a new usage group within a usage group set. Usage groups define filters and budgets for tracking specific subsets of Snowflake usage.","operationId":"create_usage_group_route_api__organization_id__usage_group_sets__usage_group_set_id__usage_groups_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the usage group set","title":"Usage Group Set Id"},"description":"The ID of the usage group set"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUsageGroupCreate","description":"The usage group configuration to create. Must include either a filter_expression object or filter_expression_json string."}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUsageGroup"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/usage-group-sets/{usage_group_set_id}/usage-groups/{usage_group_id}":{"get":{"tags":["usage-group-sets","public-api"],"summary":"Get a usage group","description":"Retrieve a specific usage group by its ID.","operationId":"get_usage_group_route_api__organization_id__usage_group_sets__usage_group_set_id__usage_groups__usage_group_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the usage group set","title":"Usage Group Set Id"},"description":"The ID of the usage group set"},{"name":"usage_group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the usage group","title":"Usage Group Id"},"description":"The ID of the usage group"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUsageGroup"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["usage-group-sets","public-api"],"summary":"Update a usage group","description":"Update an existing usage group. Only the provided fields will be updated.","operationId":"update_usage_group_route_api__organization_id__usage_group_sets__usage_group_set_id__usage_groups__usage_group_id__put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the usage group set","title":"Usage Group Set Id"},"description":"The ID of the usage group set"},{"name":"usage_group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the usage group","title":"Usage Group Id"},"description":"The ID of the usage group"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUsageGroupUpdate","description":"The usage group updates to apply. Only specified fields will be updated."}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUsageGroup"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["usage-group-sets","public-api"],"summary":"Delete a usage group","description":"Delete a usage group from its usage group set.","operationId":"delete_usage_group_route_api__organization_id__usage_group_sets__usage_group_set_id__usage_groups__usage_group_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the usage group set","title":"Usage Group Set Id"},"description":"The ID of the usage group set"},{"name":"usage_group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the usage group","title":"Usage Group Id"},"description":"The ID of the usage group"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/usage-group-sets/{usage_group_set_id}/with-usage-groups":{"get":{"tags":["usage-group-sets","public-api"],"summary":"Get usage group set with usage groups","description":"Retrieve a usage group set along with all its current usage groups in a single response.","operationId":"get_usage_group_set_with_usage_groups_route_api__organization_id__usage_group_sets__usage_group_set_id__with_usage_groups_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the usage group set","title":"Usage Group Set Id"},"description":"The ID of the usage group set"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUsageGroupSetWithUsageGroups"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/usage-group-sets/{usage_group_set_id}/versions":{"post":{"tags":["usage-group-sets","public-api"],"summary":"Create a new version of a usage group set","description":"Create a new version of a usage group set with a copy of all current usage groups. This is useful when you want to preserve the current state before making changes.","operationId":"create_usage_group_set_version_route_api__organization_id__usage_group_sets__usage_group_set_id__versions_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"usage_group_set_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the usage group set","title":"Usage Group Set Id"},"description":"The ID of the usage group set"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUsageGroupSetVersionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/teams":{"get":{"tags":["teams","public-api"],"summary":"List teams","description":"Retrieve all teams within an organization","operationId":"list_teams_route_api__organization_id__teams_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":1000,"minimum":1},{"type":"null"}],"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Offset"}},{"name":"all_user_team","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"All User Team"}},{"name":"order_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"-created_at","title":"Order By"}},{"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"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicListTeamsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["teams","public-api"],"summary":"Create a team","description":"Create a new team within an organization. The team will be created without any members or roles initially. Use the dedicated member and role endpoints to add members and roles to the team.","operationId":"create_team_route_api__organization_id__teams_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTeamCreate","description":"The team configuration to create."}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTeam"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/teams/{team_id}":{"get":{"tags":["teams","public-api"],"summary":"Get team details","description":"Retrieve detailed information about a specific team with paginated members and roles.","operationId":"get_team_route_api__organization_id__teams__team_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the team","title":"Team Id"},"description":"The ID of the team"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"members_limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":1000,"minimum":1},{"type":"null"}],"default":100,"title":"Members Limit"}},{"name":"members_offset","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Members Offset"}},{"name":"roles_limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":1000,"minimum":1},{"type":"null"}],"default":100,"title":"Roles Limit"}},{"name":"roles_offset","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"default":0,"title":"Roles Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTeamWithDetails"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["teams","public-api"],"summary":"Update a team","description":"Update an existing team's information. Currently only the team name can be updated.","operationId":"update_team_route_api__organization_id__teams__team_id__put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the team","title":"Team Id"},"description":"The ID of the team"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTeamUpdate","description":"The updated team configuration."}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTeam"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["teams","public-api"],"summary":"Delete a team","description":"Delete a team from the organization. This will also remove all team memberships and role assignments.","operationId":"delete_team_route_api__organization_id__teams__team_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the team","title":"Team Id"},"description":"The ID of the team"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/teams/{team_id}/members":{"get":{"tags":["teams","public-api"],"summary":"List team members","description":"Retrieve all members of a team including users and SSO groups","operationId":"list_team_members_route_api__organization_id__teams__team_id__members_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the team","title":"Team Id"},"description":"The ID of the team"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"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":"order_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"-created_at","title":"Order By"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTeamMembersResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["teams","public-api"],"summary":"Add team member","description":"Add a user or SSO group to a team","operationId":"add_team_member_route_api__organization_id__teams__team_id__members_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the team","title":"Team Id"},"description":"The ID of the team"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTeamMemberCreate","description":"The member to add to the team"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTeamMember"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/teams/{team_id}/members/{user_role_id}":{"put":{"tags":["teams","public-api"],"summary":"Update team member","description":"Update a team member's role","operationId":"update_team_member_route_api__organization_id__teams__team_id__members__user_role_id__put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the team","title":"Team Id"},"description":"The ID of the team"},{"name":"user_role_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the team membership (UserRole ID)","title":"User Role Id"},"description":"The ID of the team membership (UserRole ID)"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTeamMemberUpdate","description":"The updated member data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTeamMember"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["teams","public-api"],"summary":"Remove team member","description":"Remove a user or SSO group from a team","operationId":"remove_team_member_route_api__organization_id__teams__team_id__members__user_role_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the team","title":"Team Id"},"description":"The ID of the team"},{"name":"user_role_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the team membership (UserRole ID)","title":"User Role Id"},"description":"The ID of the team membership (UserRole ID)"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/users/{email}/roles":{"get":{"tags":["roles","public-api"],"summary":"List user roles","description":"Retrieve all direct roles assigned to a user","operationId":"list_user_roles_route_api__organization_id__users__email__roles_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","description":"User's email address","title":"Email"},"description":"User's email address"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"role","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/UserRoleEnum"},{"type":"null"}],"title":"Role"}},{"name":"scope_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RoleScopeType"},{"type":"null"}],"title":"Scope Type"}},{"name":"order_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"-created_at","title":"Order By"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUserRolesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["roles","public-api"],"summary":"Create user role","description":"Assign a new direct role to a user","operationId":"create_user_role_route_api__organization_id__users__email__roles_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","description":"User's email address","title":"Email"},"description":"User's email address"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicRoleCreate","description":"The role configuration to create"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUserAccessRole"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/users/{email}/roles/{user_role_id}":{"get":{"tags":["roles","public-api"],"summary":"Get user role","description":"Retrieve details of a specific user role assignment","operationId":"get_user_role_route_api__organization_id__users__email__roles__user_role_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","description":"User's email address","title":"Email"},"description":"User's email address"},{"name":"user_role_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the role assignment","title":"User Role Id"},"description":"The ID of the role assignment"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUserAccessRole"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["roles","public-api"],"summary":"Update user role","description":"Update a user's role level","operationId":"update_user_role_route_api__organization_id__users__email__roles__user_role_id__put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","description":"User's email address","title":"Email"},"description":"User's email address"},{"name":"user_role_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the role assignment","title":"User Role Id"},"description":"The ID of the role assignment"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUserRoleUpdate","description":"The updated role configuration"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUserAccessRole"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["roles","public-api"],"summary":"Delete user role","description":"Remove a direct role assignment from a user","operationId":"delete_user_role_route_api__organization_id__users__email__roles__user_role_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","description":"User's email address","title":"Email"},"description":"User's email address"},{"name":"user_role_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the role assignment","title":"User Role Id"},"description":"The ID of the role assignment"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/users/{email}":{"get":{"tags":["roles","public-api"],"summary":"Get user summary","description":"Retrieve comprehensive information about a user","operationId":"get_user_summary_route_api__organization_id__users__email__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","description":"User's email address","title":"Email"},"description":"User's email address"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUserSummary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/teams/{team_id}/roles":{"get":{"tags":["roles","public-api"],"summary":"List team roles","description":"Retrieve all roles granted to a team","operationId":"list_team_roles_route_api__organization_id__teams__team_id__roles_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the team","title":"Team Id"},"description":"The ID of the team"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTeamRolesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["roles","public-api"],"summary":"Create team role","description":"Grant a new role to a team","operationId":"create_team_role_route_api__organization_id__teams__team_id__roles_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the team","title":"Team Id"},"description":"The ID of the team"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicRoleCreate","description":"The role configuration to create"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTeamAccessRole"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/teams/{team_id}/roles/{role_id}":{"delete":{"tags":["roles","public-api"],"summary":"Delete team role","description":"Remove a role from a team","operationId":"delete_team_role_route_api__organization_id__teams__team_id__roles__role_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the team","title":"Team Id"},"description":"The ID of the team"},{"name":"role_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the role assignment","title":"Role Id"},"description":"The ID of the role assignment"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/sso-group-mappings":{"get":{"tags":["sso","public-api"],"summary":"List SSO group mappings","description":"Retrieve all SSO groups with their role assignments","operationId":"list_sso_group_mappings_route_api__organization_id__sso_group_mappings_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"order_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"sso_group_name","title":"Order By"}},{"name":"sso_group_name__ilike","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sso Group Name  Ilike"}},{"name":"sso_group_name__not_ilike","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sso Group Name  Not Ilike"}},{"name":"sso_group_name__isnull","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sso Group Name  Isnull"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicSSOGroupsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["sso","public-api"],"summary":"Create SSO group mapping","description":"Create a new SSO group with initial role assignments","operationId":"create_sso_group_mapping_route_api__organization_id__sso_group_mappings_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicSSOGroupCreate","description":"The SSO group configuration with initial roles"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicSSOGroup"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/sso-group-mappings/{sso_group_name}":{"put":{"tags":["sso","public-api"],"summary":"Update SSO group mapping","description":"Update an SSO group name","operationId":"update_sso_group_mapping_route_api__organization_id__sso_group_mappings__sso_group_name__put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"sso_group_name","in":"path","required":true,"schema":{"type":"string","description":"The current SSO group name","title":"Sso Group Name"},"description":"The current SSO group name"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicSSOGroupUpdate","description":"The new SSO group name"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicSSOGroup"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["sso","public-api"],"summary":"Delete SSO group mapping","description":"Remove all role assignments for an SSO group","operationId":"delete_sso_group_mapping_route_api__organization_id__sso_group_mappings__sso_group_name__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"sso_group_name","in":"path","required":true,"schema":{"type":"string","description":"The SSO group name","title":"Sso Group Name"},"description":"The SSO group name"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/sso-group-mappings/{sso_group_name}/roles":{"post":{"tags":["sso","public-api"],"summary":"Add role to SSO group","description":"Add a new role assignment to an existing SSO group","operationId":"add_sso_group_role_route_api__organization_id__sso_group_mappings__sso_group_name__roles_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"sso_group_name","in":"path","required":true,"schema":{"type":"string","description":"The SSO group name","title":"Sso Group Name"},"description":"The SSO group name"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicRoleCreate","description":"The role configuration to add"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicSSOGroupAccessRole"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{organization_id}/sso-group-mappings/{sso_group_name}/roles/{role_id}":{"delete":{"tags":["sso","public-api"],"summary":"Remove role from SSO group","description":"Remove a specific role assignment from an SSO group","operationId":"delete_sso_group_role_route_api__organization_id__sso_group_mappings__sso_group_name__roles__role_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"sso_group_name","in":"path","required":true,"schema":{"type":"string","description":"The SSO group name","title":"Sso Group Name"},"description":"The SSO group name"},{"name":"role_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the role assignment","title":"Role Id"},"description":"The ID of the role assignment"},{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"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"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","enum":["array_contains"],"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"},{"type":"null"}]},"type":"object"},{"type":"null"}]},"type":"array","title":"Values"},"operator":{"type":"string","enum":["array_contains"],"const":"array_contains","title":"Operator"}},"type":"object","required":["field","values","operator"],"title":"ArrayContainsFilter[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"},"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"},{"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"},{"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]]"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"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"},{"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"},{"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_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]]"},"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_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]]"},"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]]"},"PermissionEntityType":{"type":"string","enum":["select_organization","snowflake_organization","snowflake_account","databricks_account","databricks_workspace","bigquery_project","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:\nSELECT_ORGANIZATION\n├── SNOWFLAKE_ORGANIZATION\n│   └── SNOWFLAKE_ACCOUNT\n│       ├── TEAM\n│       └── USAGE_GROUP\n├── DATABRICKS_ACCOUNT\n│   └── DATABRICKS_WORKSPACE\n│       ├── TEAM\n│       └── USAGE_GROUP\n└── TABLEAU_SITE\n    ├── TEAM\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_workspace`,\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_workspace_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."},"PublicListTeamsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PublicTeam"},"type":"array","title":"Items","description":"List of teams"},"remaining_count":{"type":"integer","title":"Remaining Count","description":"Number of teams remaining after pagination"},"limit":{"type":"integer","title":"Limit","description":"Maximum number of items returned"},"offset":{"type":"integer","title":"Offset","description":"Number of items skipped"}},"type":"object","required":["items","remaining_count","limit","offset"],"title":"PublicListTeamsResponse","description":"Response model for listing teams with pagination metadata."},"PublicListUsersResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOut"},"type":"array","title":"Items","description":"List of users"},"remaining_count":{"type":"integer","title":"Remaining Count","description":"Number of users remaining after pagination"},"limit":{"type":"integer","title":"Limit","description":"Maximum number of items returned"},"offset":{"type":"integer","title":"Offset","description":"Number of items skipped"}},"type":"object","required":["items","remaining_count","limit","offset"],"title":"PublicListUsersResponse","description":"Response model for listing users with pagination metadata."},"PublicRoleCreate":{"properties":{"role":{"$ref":"#/components/schemas/UserRoleEnum","description":"The role level to grant (admin, editor, monitor_editor, or viewer)"},"scope":{"anyOf":[{"$ref":"#/components/schemas/RoleScopeRequest"},{"type":"null"}],"description":"The scope for this role. If not provided, creates an organization-wide role"}},"type":"object","required":["role"],"title":"PublicRoleCreate","description":"Schema for creating a role via public API (for users or teams)."},"PublicSSOGroup":{"properties":{"sso_group_name":{"type":"string","title":"Sso Group Name","description":"The SSO group name"},"roles":{"items":{"$ref":"#/components/schemas/PublicSSOGroupAccessRole"},"type":"array","title":"Roles","description":"All access roles for this SSO group"}},"type":"object","required":["sso_group_name","roles"],"title":"PublicSSOGroup","description":"SSO group information with all its access roles."},"PublicSSOGroupAccessRole":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The unique identifier of this role assignment"},"role":{"$ref":"#/components/schemas/UserRoleEnum","description":"The role level (admin, editor, monitor_editor, or viewer)"},"scope":{"$ref":"#/components/schemas/RoleScope","description":"The scope this role applies to"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the role was created"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"When the role was last updated"}},"type":"object","required":["id","role","scope","created_at","updated_at"],"title":"PublicSSOGroupAccessRole","description":"SSO group's access role to a resource."},"PublicSSOGroupCreate":{"properties":{"sso_group_name":{"type":"string","minLength":1,"title":"Sso Group Name","description":"The SSO group name from the identity provider"},"roles":{"items":{"$ref":"#/components/schemas/PublicRoleCreate"},"type":"array","minItems":1,"title":"Roles","description":"Initial roles to assign to this SSO group"}},"type":"object","required":["sso_group_name","roles"],"title":"PublicSSOGroupCreate","description":"Schema for creating an SSO group with initial roles."},"PublicSSOGroupUpdate":{"properties":{"new_sso_group_name":{"type":"string","minLength":1,"title":"New Sso Group Name","description":"The new SSO group name"}},"type":"object","required":["new_sso_group_name"],"title":"PublicSSOGroupUpdate","description":"Schema for updating an SSO group (renaming)."},"PublicSSOGroupsResponse":{"properties":{"sso_groups":{"items":{"$ref":"#/components/schemas/PublicSSOGroup"},"type":"array","title":"Sso Groups","description":"List of SSO groups"},"remaining_count":{"type":"integer","title":"Remaining Count","description":"Number of SSO groups remaining after pagination"},"limit":{"type":"integer","title":"Limit","description":"Maximum number of items returned"},"offset":{"type":"integer","title":"Offset","description":"Number of items skipped"}},"type":"object","required":["sso_groups","remaining_count","limit","offset"],"title":"PublicSSOGroupsResponse","description":"Response model for listing SSO groups with pagination metadata."},"PublicTeam":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The unique identifier of the team"},"name":{"type":"string","title":"Name","description":"The name of the team"},"is_all_users":{"type":"boolean","title":"Is All Users","description":"Whether this is the special 'all users' team that automatically includes all organization members"},"default_member_role":{"$ref":"#/components/schemas/TeamRoleEnum","description":"Default role assigned to new members when they are added to the team"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the team was created"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"When the team was last updated"}},"type":"object","required":["id","name","is_all_users","default_member_role","created_at","updated_at"],"title":"PublicTeam","description":"Basic team information returned by public API."},"PublicTeamAccessRole":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The unique identifier of this role assignment"},"role":{"$ref":"#/components/schemas/UserRoleEnum","description":"The role level (admin, editor, monitor_editor, or viewer)"},"scope":{"$ref":"#/components/schemas/RoleScope","description":"The scope this role applies to"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the role was created"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"When the role was last updated"}},"type":"object","required":["id","role","scope","created_at","updated_at"],"title":"PublicTeamAccessRole","description":"Team's access role to a resource, returned by public API."},"PublicTeamCreate":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the team."},"is_all_users":{"type":"boolean","title":"Is All Users","description":"Whether this is the special 'all users' team that automatically includes all organization members"},"default_member_role":{"$ref":"#/components/schemas/TeamRoleEnum","description":"Default role assigned to new members when they are added to the team","default":"editor"}},"type":"object","required":["name","is_all_users"],"title":"PublicTeamCreate","description":"Schema for creating a new team via public API."},"PublicTeamMember":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The unique identifier of this membership (UserRole ID)"},"type":{"$ref":"#/components/schemas/TeamMemberType","description":"Type of member - either a user or an SSO group"},"identifier":{"type":"string","title":"Identifier","description":"Email address for users, group name for SSO groups"},"role":{"$ref":"#/components/schemas/TeamRoleEnum","description":"The role this member has within the team context (editor or viewer)"},"added_at":{"type":"string","format":"date-time","title":"Added At","description":"When the member was added to the team"}},"type":"object","required":["id","type","identifier","role","added_at"],"title":"PublicTeamMember","description":"A member of a team (user or SSO group)."},"PublicTeamMemberCreate":{"properties":{"type":{"$ref":"#/components/schemas/TeamMemberType","description":"Type of member to add"},"identifier":{"type":"string","title":"Identifier","description":"Email address for users, group name for SSO groups"},"role":{"$ref":"#/components/schemas/TeamRoleEnum","description":"Role within the team (editor or viewer)"}},"type":"object","required":["type","identifier","role"],"title":"PublicTeamMemberCreate","description":"Schema for adding a member to a team via public API."},"PublicTeamMemberUpdate":{"properties":{"role":{"$ref":"#/components/schemas/TeamRoleEnum","description":"New role for the member (editor or viewer)"}},"type":"object","required":["role"],"title":"PublicTeamMemberUpdate","description":"Schema for updating a team member's role via public API."},"PublicTeamMembersResponse":{"properties":{"members":{"items":{"$ref":"#/components/schemas/PublicTeamMember"},"type":"array","title":"Members","description":"List of team members"},"remaining_count":{"type":"integer","title":"Remaining Count","description":"Number of remaining members not returned"},"limit":{"type":"integer","title":"Limit","description":"Maximum number of results per page"},"offset":{"type":"integer","title":"Offset","description":"Number of results to skip"},"is_all_users_team":{"type":"boolean","title":"Is All Users Team","description":"Whether this is the special 'all users' team that automatically includes all organization members"}},"type":"object","required":["members","remaining_count","limit","offset","is_all_users_team"],"title":"PublicTeamMembersResponse","description":"Response model for listing team members with pagination metadata."},"PublicTeamRole":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The unique identifier of this role grant (UserRole ID)"},"role":{"$ref":"#/components/schemas/TeamRoleEnum","description":"The role level granted to team members (editor or viewer)"},"snowflake_organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Organization Name","description":"Snowflake organization this role applies to (if scoped)"},"snowflake_account_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Account Uuid","description":"Snowflake account this role applies to (if scoped)"},"usage_group_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Usage Group Id","description":"Usage group this role applies to (if scoped)"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When this role was granted to the team"}},"type":"object","required":["id","role","created_at"],"title":"PublicTeamRole","description":"A role granted to a team."},"PublicTeamRolesResponse":{"properties":{"roles":{"items":{"$ref":"#/components/schemas/PublicTeamAccessRole"},"type":"array","title":"Roles","description":"List of team access roles"},"remaining_count":{"type":"integer","title":"Remaining Count","description":"Number of roles remaining after pagination"},"limit":{"type":"integer","title":"Limit","description":"Maximum number of items returned"},"offset":{"type":"integer","title":"Offset","description":"Number of items skipped"}},"type":"object","required":["roles","remaining_count","limit","offset"],"title":"PublicTeamRolesResponse","description":"Response model for listing team roles with pagination metadata."},"PublicTeamUpdate":{"properties":{"name":{"type":"string","title":"Name","description":"The new name for the team."},"default_member_role":{"$ref":"#/components/schemas/TeamRoleEnum","description":"Default role assigned to new members when they are added to the team","default":"editor"}},"type":"object","required":["name"],"title":"PublicTeamUpdate","description":"Schema for updating an existing team via public API."},"PublicTeamWithDetails":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The unique identifier of the team"},"name":{"type":"string","title":"Name","description":"The name of the team"},"is_all_users":{"type":"boolean","title":"Is All Users","description":"Whether this is the special 'all users' team that automatically includes all organization members"},"default_member_role":{"$ref":"#/components/schemas/TeamRoleEnum","description":"Default role assigned to new members when they are added to the team"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the team was created"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"When the team was last updated"},"member_count":{"type":"integer","title":"Member Count","description":"Total number of members in the team"},"role_count":{"type":"integer","title":"Role Count","description":"Total number of roles granted to the team"},"members":{"items":{"$ref":"#/components/schemas/PublicTeamMember"},"type":"array","title":"Members","description":"Paginated list of team members"},"roles":{"items":{"$ref":"#/components/schemas/PublicTeamRole"},"type":"array","title":"Roles","description":"Paginated list of roles granted to the team"}},"type":"object","required":["id","name","is_all_users","default_member_role","created_at","updated_at","member_count","role_count"],"title":"PublicTeamWithDetails","description":"Detailed team information including members and roles."},"PublicUsageGroup":{"properties":{"filter_expression":{"$ref":"#/components/schemas/backend__entities__metrics__base__schemas__filters__FilterExpression_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Output__2","description":"The structured filter expression object that defines which Snowflake usage is attributed to this usage group."},"filter_expression_json":{"type":"string","title":"Filter Expression Json","description":"The JSON string representation of the filter expression, used by the terraform provider."},"id":{"type":"string","format":"uuid","title":"Id","description":"The unique identifier of the usage group."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"The timestamp when the usage group was created."},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"The timestamp when the usage group was last updated."},"usage_group_set_id":{"type":"string","format":"uuid","title":"Usage Group Set Id","description":"The ID of the usage group set this usage group belongs to."},"name":{"type":"string","title":"Name","description":"The name of the usage group."},"budget":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Budget","description":"The budget allocated to this usage group in credits. Null indicates no budget limit."},"order":{"type":"integer","title":"Order","description":"The display order and cost allocation precedence of the usage group within its usage group set. Lower values have higher precedence for cost allocation when filter expressions overlap."},"usage_group_set_name":{"type":"string","title":"Usage Group Set Name","description":"The name of the usage group set this usage group belongs to."}},"type":"object","required":["filter_expression","filter_expression_json","id","created_at","updated_at","usage_group_set_id","name","order","usage_group_set_name"],"title":"PublicUsageGroup"},"PublicUsageGroupCreate":{"properties":{"filter_expression":{"anyOf":[{"$ref":"#/components/schemas/backend__entities__metrics__base__schemas__filters__FilterExpression_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input__2"},{"type":"null"}],"description":"A structured filter expression object that defines which Snowflake usage will be attributed to this usage group. The available dimensions depend on the usage group set's scope: account, organization, team, or Select organization. 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 will be validated in the same manner as filter_expression."},"name":{"type":"string","title":"Name","description":"The name of the usage group. Must be unique within the usage group set and cannot be empty."},"budget":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Budget","description":"The budget allocated to this usage group in credits. If not specified, the usage group will have no budget limit."},"usage_group_set_id":{"type":"string","format":"uuid","title":"Usage Group Set Id","description":"The ID of the usage group set this usage group belongs to. Must match the usage_group_set_id in the URL path."},"order":{"type":"integer","title":"Order","description":"The display order and cost allocation precedence of the usage group within its usage group set. Must be a non-negative integer. When usage groups have overlapping filter expressions, cost allocation goes to the usage group with the lowest order value first. We strongly recommend using unique order values per usage group within a set."}},"additionalProperties":false,"type":"object","required":["name","usage_group_set_id","order"],"title":"PublicUsageGroupCreate"},"PublicUsageGroupSet":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the usage group set. Should be unique within the organization and cannot be empty."},"order":{"type":"integer","title":"Order","description":"The display order of the usage group set. Must be a non-negative integer. Lower values appear first."},"snowflake_account_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Account Uuid","description":"DEPRECATED: This field is deprecated and will be ignored, it will be removed in a future version. Usage group sets are now scoped using team_id or default to Select organization scope.","deprecated":true},"snowflake_organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Organization Name","description":"DEPRECATED: This field is deprecated and will be ignored, it will be removed in a future version. Usage group sets are now scoped using team_id or default to Select organization scope.","deprecated":true},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Team Id","description":"The UUID of the team this usage group set is scoped to. Use team_id or none (for Select organization scope)."},"id":{"type":"string","format":"uuid","title":"Id","description":"The unique identifier of the usage group set."}},"additionalProperties":false,"type":"object","required":["name","order","id"],"title":"PublicUsageGroupSet"},"PublicUsageGroupSetCreate":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the usage group set. Should be unique within the organization and cannot be empty."},"order":{"type":"integer","title":"Order","description":"The display order of the usage group set. Must be a non-negative integer. Lower values appear first."},"snowflake_account_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Account Uuid","description":"DEPRECATED: This field is deprecated and will be ignored, it will be removed in a future version. Usage group sets are now scoped using team_id or default to Select organization scope.","deprecated":true},"snowflake_organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Organization Name","description":"DEPRECATED: This field is deprecated and will be ignored, it will be removed in a future version. Usage group sets are now scoped using team_id or default to Select organization scope.","deprecated":true},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Team Id","description":"The UUID of the team this usage group set is scoped to. Use team_id or none (for Select organization scope)."}},"additionalProperties":false,"type":"object","required":["name","order"],"title":"PublicUsageGroupSetCreate"},"PublicUsageGroupSetUpdate":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The unique identifier of the usage group set to update. Must match the ID in the URL path."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"The new name of the usage group set. If provided, must not be empty."},"order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Order","description":"The new display order of the usage group set. If provided, must be a non-negative integer."}},"additionalProperties":false,"type":"object","required":["id"],"title":"PublicUsageGroupSetUpdate"},"PublicUsageGroupSetVersionResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The unique identifier of the newly created version."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"The timestamp when the version was created."},"created_by":{"type":"string","title":"Created By","description":"The user/API key that created this version."},"usage_group_set_id":{"type":"string","format":"uuid","title":"Usage Group Set Id","description":"The ID of the usage group set this version belongs to."}},"type":"object","required":["id","created_at","created_by","usage_group_set_id"],"title":"PublicUsageGroupSetVersionResponse","description":"Response schema for version creation."},"PublicUsageGroupSetWithUsageGroups":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the usage group set. Should be unique within the organization and cannot be empty."},"order":{"type":"integer","title":"Order","description":"The display order of the usage group set. Must be a non-negative integer. Lower values appear first."},"snowflake_account_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Account Uuid","description":"DEPRECATED: This field is deprecated and will be ignored, it will be removed in a future version. Usage group sets are now scoped using team_id or default to Select organization scope.","deprecated":true},"snowflake_organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snowflake Organization Name","description":"DEPRECATED: This field is deprecated and will be ignored, it will be removed in a future version. Usage group sets are now scoped using team_id or default to Select organization scope.","deprecated":true},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Team Id","description":"The UUID of the team this usage group set is scoped to. Use team_id or none (for Select organization scope)."},"id":{"type":"string","format":"uuid","title":"Id","description":"The unique identifier of the usage group set."},"usage_groups":{"items":{"$ref":"#/components/schemas/PublicUsageGroup"},"type":"array","title":"Usage Groups","description":"The list of usage groups currently in this usage group set, ordered by their display order."}},"additionalProperties":false,"type":"object","required":["name","order","id","usage_groups"],"title":"PublicUsageGroupSetWithUsageGroups"},"PublicUsageGroupUpdate":{"properties":{"filter_expression":{"anyOf":[{"$ref":"#/components/schemas/backend__entities__metrics__base__schemas__filters__FilterExpression_Union_SemiStructuredDimension_SelectOrganizationUsageGroupDimensions___SelectOrganizationUsageGroupDimensions__-Input__2"},{"type":"null"}],"description":"A structured filter expression object that defines which Snowflake usage will be attributed to this usage group. The available dimensions depend on the usage group set's scope: account, organization, team, or Select organization. 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 will be validated in the same manner as filter_expression."},"id":{"type":"string","format":"uuid","title":"Id","description":"The unique identifier of the usage group to update. Must match the ID in the URL path."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"The new name of the usage group. If provided, must not be empty."},"budget":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Budget","description":"The new budget allocated to this usage group in credits. Set to null to remove the budget limit."},"order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Order","description":"The new display order and cost allocation precedence of the usage group within its usage group set. If provided, must be a non-negative integer. When usage groups have overlapping filter expressions, cost allocation goes to the usage group with the lowest order value first. We strongly recommend using unique order values per usage group within a set."}},"additionalProperties":false,"type":"object","required":["id"],"title":"PublicUsageGroupUpdate"},"PublicUserAccessRole":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The unique identifier of this role assignment"},"role":{"$ref":"#/components/schemas/UserRoleEnum","description":"The role level (admin, editor, monitor_editor, or viewer)"},"scope":{"$ref":"#/components/schemas/RoleScope","description":"The scope this role applies to"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the role was created"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"When the role was last updated"},"is_default":{"type":"boolean","title":"Is Default","description":"Whether this is a default organization role","default":false},"granted_from_team_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Granted From Team Name","description":"If this role is granted FROM a team (i.e., user has this role because they're a member of the team), the team name"}},"type":"object","required":["id","role","scope","created_at","updated_at"],"title":"PublicUserAccessRole","description":"User's access role to a resource, returned by public API."},"PublicUserRoleUpdate":{"properties":{"role":{"$ref":"#/components/schemas/UserRoleEnum","description":"The new role level (admin, editor, monitor_editor, or viewer). Note: scope cannot be changed after creation"}},"type":"object","required":["role"],"title":"PublicUserRoleUpdate","description":"Schema for updating an existing user role via public API."},"PublicUserRolesResponse":{"properties":{"roles":{"items":{"$ref":"#/components/schemas/PublicUserAccessRole"},"type":"array","title":"Roles","description":"List of user access roles"},"remaining_count":{"type":"integer","title":"Remaining Count","description":"Number of roles remaining after pagination"},"limit":{"type":"integer","title":"Limit","description":"Maximum number of items returned"},"offset":{"type":"integer","title":"Offset","description":"Number of items skipped"}},"type":"object","required":["roles","remaining_count","limit","offset"],"title":"PublicUserRolesResponse","description":"Response model for listing user roles with pagination metadata."},"PublicUserSummary":{"properties":{"email":{"type":"string","title":"Email","description":"The user's email address"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"The user's display name"},"identity_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identity Provider","description":"The identity provider used for authentication"},"roles":{"items":{"$ref":"#/components/schemas/PublicUserAccessRole"},"type":"array","title":"Roles","description":"All direct access roles assigned to the user"},"team_memberships":{"items":{"$ref":"#/components/schemas/TeamMembership"},"type":"array","title":"Team Memberships","description":"Teams the user belongs to"},"last_login_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Login At","description":"When the user last logged in"},"last_activity_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Activity At","description":"When the user was last active"},"sso_groups":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Sso Groups","description":"SSO groups from the user's last login"}},"type":"object","required":["email"],"title":"PublicUserSummary","description":"Comprehensive user information including roles and team memberships."},"RoleScope":{"properties":{"type":{"$ref":"#/components/schemas/RoleScopeType","description":"The type of scope for this role"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"ID of the scoped entity (organization ID, Snowflake org name, account UUID, or usage group ID)"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Display name of the scoped entity (populated in responses)"}},"type":"object","required":["type"],"title":"RoleScope","description":"Scope definition for a role assignment."},"RoleScopeRequest":{"properties":{"type":{"$ref":"#/components/schemas/RoleScopeType","description":"The type of scope for this role"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"ID of the scoped entity (required for non-organization scopes)"}},"type":"object","required":["type"],"title":"RoleScopeRequest","description":"Scope definition for creating/updating role assignments (request only)."},"RoleScopeType":{"type":"string","enum":["organization","snowflake_organization","snowflake_account","databricks_account","databricks_workspace","tableau_site","usage_group"],"title":"RoleScopeType","description":"Types of scopes a role can be assigned to."},"SelectOrganizationUsageGroupDimensions":{"type":"string","enum":["account_metadata","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","connection_type","platform_organization","platform_instance","warehouse_name","warehouse_tags","warehouse_tags_map","user_name","user_tags","user_tags_map","role_name","role_tags","role_tags_map","resource_type","database_tags","database_tags_map","nice_resource_type","identifying_metadata","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","databricks_object_tags","databricks_object_tags_map","dbt_node_tags","database_name","schema_name","database_schema_name","dbt_target_database_schema_name","dbt_resource_database_schema_name","fivetran_database_schema_name","custom_workload_app_workload_id","usage_group_metadata","base_tables_accessed","base_schemas_accessed","base_databases_accessed","base_tables_accessed_csv","tables_modified","schemas_modified","databases_modified","tables_modified_csv","query_type","compute_pool_name","application_name","databricks_account_id","databricks_workspace_id","databricks_billing_origin_product","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_node_type","databricks_run_as","databricks_created_by","databricks_owned_by","databricks_budget_policy_id","databricks_sql_warehouse_name","databricks_cluster_name","databricks_pipeline_name"]},"SemiStructuredDimension_SelectOrganizationUsageGroupDimensions_":{"properties":{"field":{"$ref":"#/components/schemas/SelectOrganizationUsageGroupDimensions"},"path":{"items":{"type":"string"},"type":"array","title":"Path"}},"type":"object","required":["field","path"],"title":"SemiStructuredDimension[SelectOrganizationUsageGroupDimensions]"},"SnowflakeKeyPairCredentialsIn":{"properties":{"private_key":{"type":"string","title":"Private Key","description":"The private key for the Snowflake account user. This can be encrypted with a passphrase if desired. The key should be in PEM format. I.e. with a one-line header, consisting of -----BEGIN, a label, and -----, and a one-line footer, consisting of -----END, a label, and -----. However, we can also accept the key as a one-liner string with spaces instead of newlines, which happens if you paste a key into the api playground in our documentation."},"private_key_passphrase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Private Key Passphrase","description":"The passphrase for the private key, if encrypted."}},"type":"object","required":["private_key"],"title":"SnowflakeKeyPairCredentialsIn"},"SuccessResponse":{"properties":{"success":{"type":"boolean","enum":[true],"const":true,"title":"Success"}},"type":"object","required":["success"],"title":"SuccessResponse"},"TeamMemberType":{"type":"string","enum":["user","sso_group"],"title":"TeamMemberType","description":"Type of team member."},"TeamMembership":{"properties":{"team_id":{"type":"string","format":"uuid","title":"Team Id","description":"The unique identifier of the team"},"team_name":{"type":"string","title":"Team Name","description":"The name of the team"},"role":{"$ref":"#/components/schemas/UserRoleEnum","description":"The role level within the team"},"is_all_users_team":{"type":"boolean","title":"Is All Users Team","description":"Whether this is the special all-users team","default":false}},"type":"object","required":["team_id","team_name","role"],"title":"TeamMembership","description":"Information about a user's membership in a team."},"TeamRoleEnum":{"type":"string","enum":["editor","viewer"],"title":"TeamRoleEnum","description":"Defines the permission level of a user within a team:\n- EDITOR: Can manage team resources, create and modify shared items, and change settings\n- VIEWER: Can view team resources and have limited interaction capabilities"},"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."},"UserOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"email_address":{"type":"string","title":"Email Address"},"identity_provider":{"type":"string","title":"Identity Provider"},"picture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture"},"last_login_sso_groups":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Last Login Sso Groups"},"num_pages_visited_last_2_months":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Pages Visited Last 2 Months"},"last_login_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Login At"},"last_activity_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Activity At"},"roles":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/UserRoleEmailGet"},{"$ref":"#/components/schemas/UserRoleSSOGroupGet"},{"$ref":"#/components/schemas/UserRoleDefaultGet"},{"$ref":"#/components/schemas/UserRoleTeamGet"}]},"type":"array"},{"type":"null"}],"title":"Roles"}},"type":"object","required":["id","name","email_address","identity_provider","picture","last_login_sso_groups","num_pages_visited_last_2_months"],"title":"UserOut"},"UserRoleDefaultGet":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"role":{"$ref":"#/components/schemas/UserRoleEnum"},"entity":{"$ref":"#/components/schemas/PermissionEntityWithDisplayName"},"organization_id":{"type":"string","title":"Organization Id"},"email_address":{"type":"null","title":"Email Address"},"sso_group_name":{"type":"null","title":"Sso Group Name"},"granted_to_team_name":{"type":"null","title":"Granted To Team Name"},"is_default":{"type":"boolean","enum":[true],"const":true,"title":"Is Default"}},"type":"object","required":["id","created_at","updated_at","role","entity","organization_id","email_address","sso_group_name","granted_to_team_name","is_default"],"title":"UserRoleDefaultGet"},"UserRoleEmailGet":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"role":{"$ref":"#/components/schemas/UserRoleEnum"},"entity":{"$ref":"#/components/schemas/PermissionEntityWithDisplayName"},"organization_id":{"type":"string","title":"Organization Id"},"email_address":{"type":"string","title":"Email Address"},"sso_group_name":{"type":"null","title":"Sso Group Name"},"granted_to_team_name":{"type":"null","title":"Granted To Team Name"},"is_default":{"type":"boolean","enum":[false],"const":false,"title":"Is Default","default":false}},"type":"object","required":["id","created_at","updated_at","role","entity","organization_id","email_address","sso_group_name","granted_to_team_name"],"title":"UserRoleEmailGet"},"UserRoleEnum":{"type":"string","enum":["admin","editor","monitor_editor","viewer"],"title":"UserRoleEnum"},"UserRoleSSOGroupGet":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"role":{"$ref":"#/components/schemas/UserRoleEnum"},"entity":{"$ref":"#/components/schemas/PermissionEntityWithDisplayName"},"organization_id":{"type":"string","title":"Organization Id"},"email_address":{"type":"null","title":"Email Address"},"sso_group_name":{"type":"string","title":"Sso Group Name"},"granted_to_team_name":{"type":"null","title":"Granted To Team Name"},"is_default":{"type":"boolean","enum":[false],"const":false,"title":"Is Default","default":false}},"type":"object","required":["id","created_at","updated_at","role","entity","organization_id","email_address","sso_group_name","granted_to_team_name"],"title":"UserRoleSSOGroupGet"},"UserRoleTeamGet":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"role":{"$ref":"#/components/schemas/UserRoleEnum"},"entity":{"$ref":"#/components/schemas/PermissionEntityWithDisplayName"},"organization_id":{"type":"string","title":"Organization Id"},"email_address":{"type":"null","title":"Email Address"},"sso_group_name":{"type":"null","title":"Sso Group Name"},"granted_to_team_name":{"type":"string","title":"Granted To Team Name"},"is_default":{"type":"boolean","enum":[false],"const":false,"title":"Is Default","default":false}},"type":"object","required":["id","created_at","updated_at","role","entity","organization_id","email_address","sso_group_name","granted_to_team_name"],"title":"UserRoleTeamGet"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"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","enum":["Resource Filter"],"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__-Output__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__-Output__2"},{"$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","enum":["Resource Filter"],"const":"Resource Filter"},{"type":"null"}],"title":"Component Type"}},"type":"object","required":["operator","filters"],"title":"FilterExpression[Union[SemiStructuredDimension[SelectOrganizationUsageGroupDimensions], SelectOrganizationUsageGroupDimensions]]"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}},"servers":[{"url":"https://api.select.dev/","description":"SELECT API"}]}