# Credible Data ## Docs - [Welcome to Credible](https://docs.credibledata.com/introduction.md): Capture what your data means and deliver it as trusted context to every surface - [Environments](https://docs.credibledata.com/how-to/modeling/environment-overview.md): The stable, governed foundation for your data - [Connect a Database](https://docs.credibledata.com/how-to/modeling/connect-data.md): Add secure, managed database connections to your environment - [Build & Publish](https://docs.credibledata.com/how-to/modeling/in-app-development.md): Build, preview, and publish semantic models with the agent in the Credible App - [Modeling Overview](https://docs.credibledata.com/how-to/modeling/ai-modeling.md): Build semantic models with AI agents — in the app or in your IDE - [Discovery Metadata](https://docs.credibledata.com/how-to/modeling/metadata-tags.md): Document your models for humans and AI discovery - [Access Control](https://docs.credibledata.com/how-to/modeling/fine-grained-acls.md): Fine-grained row, column, and source-level access control in your Malloy models - [Performance & Cost](https://docs.credibledata.com/how-to/modeling/persistence.md): Materialize sources and index dimensions for fast, searchable models - [Publishing](https://docs.credibledata.com/how-to/modeling/publishing.md): Version your package, let Credible prepare it for serving, and serve it to every consumer - [Analytics Engine Overview](https://docs.credibledata.com/how-to/analyzing/overview.md): How Credible delivers your data and its meaning as trusted context to every surface - [Analyze Data](https://docs.credibledata.com/how-to/analyzing/workspaces.md): Chat with your data in governed workspaces in the Credible App - [Build Data Apps](https://docs.credibledata.com/how-to/analyzing/data-apps.md): Build and use interactive dashboards and applications shipped with your packages - [Connect your Agent](https://docs.credibledata.com/how-to/analyzing/connect-your-llm.md): Connect Claude, ChatGPT, Gemini, and other MCP-compatible chat clients to your semantic models - [Connect with Slack](https://docs.credibledata.com/how-to/analyzing/slack-integration.md): Chat with your data directly from Slack using the @CredibleData bot - [Developer Overview](https://docs.credibledata.com/how-to/developers/overview.md): Local development — the whole platform in your own toolset - [VS Code Extension](https://docs.credibledata.com/how-to/developers/vscode-extension.md): Build semantic models in VS Code or Cursor with the Credible Extension - [Connect your Coding Agent](https://docs.credibledata.com/how-to/developers/connect-coding-agent.md): Let any coding agent analyze data with your published models - [Embedded Data](https://docs.credibledata.com/how-to/developers/embedded-data.md): Ship CSV and Parquet files inside your packages - [CLI](https://docs.credibledata.com/platform-admin/cli.md): Everything the Credible App manages, scriptable from your terminal - [CI/CD Setup](https://docs.credibledata.com/platform-admin/cicd.md): Automated package versioning and publishing with GitHub Actions - [API Access](https://docs.credibledata.com/how-to/integrating/apis.md): Build on the REST APIs - [MCP Tools](https://docs.credibledata.com/how-to/analyzing/ai-assistants-mcp.md): The Credible consumption MCP server — connecting custom agents and the get_context / execute_query tool reference - [Users & Groups](https://docs.credibledata.com/platform-admin/groups-permissions.md): Manage the users and groups in your organization - [Permissions](https://docs.credibledata.com/platform-admin/permissions.md): Who can access what — environments, packages, workspaces, and documents - [Best Practices](https://docs.credibledata.com/platform-admin/environments-packages.md): Common patterns for organizing environments and packages, and for versioning releases - [Migration Overview](https://docs.credibledata.com/how-to/migrating/overview.md): Bring your existing semantic layer — Looker, Tableau, Power BI, and more — into Credible as governed Malloy models - [Migrate from Looker](https://docs.credibledata.com/how-to/migrating/looker.md): Convert your LookML views, explores, and models into governed Malloy semantic models - [Migrate from Sigma](https://docs.credibledata.com/how-to/migrating/sigma.md): Convert your Sigma data models and workbook logic into governed Malloy semantic models - [Migrate from Omni](https://docs.credibledata.com/how-to/migrating/omni.md): Convert your Omni shared model, topics, and views into governed Malloy semantic models - [Migrate from Cube](https://docs.credibledata.com/how-to/migrating/cube.md): Convert your Cube cubes and views into governed Malloy semantic models - [Migrate from Power BI](https://docs.credibledata.com/how-to/migrating/power-bi.md): Convert your Power BI tabular model and DAX measures into governed Malloy semantic models - [Migrate from Tableau](https://docs.credibledata.com/how-to/migrating/tableau.md): Convert your Tableau data sources and calculated fields into governed Malloy semantic models - [Migrate from Snowflake Semantic Views](https://docs.credibledata.com/how-to/migrating/snowflake.md): Convert your Snowflake semantic views into governed Malloy semantic models - [Migrate from dbt Semantic Layer](https://docs.credibledata.com/how-to/migrating/dbt.md): Convert your dbt semantic models and MetricFlow metrics into governed Malloy semantic models - [Migrate from Databricks Metric Views](https://docs.credibledata.com/how-to/migrating/databricks.md): Convert your Unity Catalog metric views into governed Malloy semantic models - [Semantic Model](https://docs.credibledata.com/concepts/semantic-layer.md): What a semantic model is, what goes into one, and why it's the foundation of trusted data - [Why Malloy?](https://docs.credibledata.com/concepts/why-malloy.md): The open-source language that makes semantic models correct, composable, and AI-ready - [Governance](https://docs.credibledata.com/concepts/governed-platform.md): How Credible makes governance the path of least resistance - [Platform Architecture](https://docs.credibledata.com/concepts/architecture.md): How Credible serves governed models reliably, at scale, and under load - [Support](https://docs.credibledata.com/community/support.md): Get help with Credible Data - [Sign In with Microsoft Entra ID](https://docs.credibledata.com/reference/auth/entra-id.md): Configure Microsoft Entra ID (formerly Azure AD) for single sign-on with Credible - [Setting Up BigQuery](https://docs.credibledata.com/reference/connections/bigquery.md): Create a service account to connect BigQuery to Credible - [BigQuery ML for LLM Classification](https://docs.credibledata.com/reference/connections/bigquery-ml.md): One-time GCP setup to use LLM-based classification via BigQuery ML and Gemini - [Setting Up Databricks](https://docs.credibledata.com/reference/connections/databricks.md): Connect a Databricks SQL warehouse to Credible - [Setting Up DuckLake](https://docs.credibledata.com/reference/connections/ducklake.md): Connect a DuckLake lakehouse (SQL catalog + object storage) to Credible - [Admin API Reference](https://docs.credibledata.com/admin-api-reference.md): Complete Admin API reference for Credible Data's REST endpoints - [List all organizations](https://docs.credibledata.com/admin-api-reference/organizations/list-all-organizations.md): Retrieves a comprehensive list of all organizations accessible to the authenticated user. This endpoint returns organization metadata including names, display names, and timestamps. - [Create a new organization](https://docs.credibledata.com/admin-api-reference/organizations/create-a-new-organization.md): Creates a new organization with the specified configuration. Organizations serve as the top-level container for all resources including environments, packages, workspaces, and user groups. - [Get organization details](https://docs.credibledata.com/admin-api-reference/organizations/get-organization-details.md): Retrieves detailed information about a specific organization including metadata, configuration, and administrative details. The response includes the current user's permission level (admin, modeler, or member) within the organization. - [Delete an organization](https://docs.credibledata.com/admin-api-reference/organizations/delete-an-organization.md): Permanently deletes an organization and all associated resources including environments, packages, workspaces, and user groups. This operation is irreversible. - [Update organization details](https://docs.credibledata.com/admin-api-reference/organizations/update-organization-details.md): Partially updates an organization's details. Only the provided fields will be updated. This operation allows for selective updates without requiring all organization fields. - [List users in organization](https://docs.credibledata.com/admin-api-reference/organizations/list-users-in-organization.md): Retrieves all users that are members of the specified organization, returning basic user information (userName, email) for each. - [Get user within organization context](https://docs.credibledata.com/admin-api-reference/organizations/get-user-within-organization-context.md): Retrieves basic user information for a user within an organization context. This endpoint verifies that both the caller and the target user are members of the specified organization before returning user data. - [List organization permissions](https://docs.credibledata.com/admin-api-reference/organizationpermissions/list-organization-permissions.md): Retrieves all permission assignments for the specified organization, including user and group permissions with their roles and access levels. - [Create organization permission](https://docs.credibledata.com/admin-api-reference/organizationpermissions/create-organization-permission.md): Creates a new permission assignment for a user or group within the organization, granting them specific roles and access levels. Can also be used to request access to the organization when the user doesn't have admin permissions. - [Get organization permission](https://docs.credibledata.com/admin-api-reference/organizationpermissions/get-organization-permission.md): Retrieves the permission details for a specific user or group within the organization, including their role and access level. - [Delete organization permission](https://docs.credibledata.com/admin-api-reference/organizationpermissions/delete-organization-permission.md): Removes the permission assignment for a user or group within the organization, revoking their access to organizational resources. - [Update organization permission](https://docs.credibledata.com/admin-api-reference/organizationpermissions/update-organization-permission.md): Updates the permission assignment for a user or group within the organization, modifying their role and access level. - [List accessible packages by organization](https://docs.credibledata.com/admin-api-reference/packages/list-accessible-packages-by-organization.md): Returns a list of package resource identifiers under the given organization that the current user has access to. By default returns only packages the user can share (admin/modeler role). Set `onlyShareable=false` to include all readable packages (including viewer access). - [List packages in environment](https://docs.credibledata.com/admin-api-reference/packages/list-packages-in-environment.md): Retrieves all packages within the specified environment, including metadata such as names, descriptions, latest versions, and creation timestamps. - [Get package details](https://docs.credibledata.com/admin-api-reference/packages/get-package-details.md): Retrieves detailed information about a specific package including metadata, version information, and configuration details. - [Create or update package](https://docs.credibledata.com/admin-api-reference/packages/create-or-update-package.md): Creates a new package or updates an existing one with a new version. This endpoint handles both package metadata and file uploads for package content. - [Delete package](https://docs.credibledata.com/admin-api-reference/packages/delete-package.md): Permanently deletes a package and all associated versions. This operation is irreversible. - [Update package metadata](https://docs.credibledata.com/admin-api-reference/packages/update-package-metadata.md): Updates the metadata and configuration of an existing package, including description, settings, and other package-level properties. - [Get package version source](https://docs.credibledata.com/admin-api-reference/packages/get-package-version-source.md): Retrieves the raw package archive (zip) uploaded at publish time for a specific version, defaulting to the package's latest version. - [List environments in organization](https://docs.credibledata.com/admin-api-reference/environments/list-environments-in-organization.md): Retrieves all environments within the specified organization, including metadata such as names, descriptions, creation dates, and replication counts. - [Create a new environment](https://docs.credibledata.com/admin-api-reference/environments/create-a-new-environment.md): Creates a new environment within the specified organization. Environments serve as containers for packages and provide a logical grouping for related data models. - [Get environment details](https://docs.credibledata.com/admin-api-reference/environments/get-environment-details.md): Retrieves detailed information about a specific environment including metadata, configuration, and administrative details. - [Delete environment](https://docs.credibledata.com/admin-api-reference/environments/delete-environment.md): Permanently deletes a environment and all associated packages, versions, and connections. This operation is irreversible. - [Update environment details](https://docs.credibledata.com/admin-api-reference/environments/update-environment-details.md): Partially updates a environment's details. Only the provided fields will be updated. This operation allows for selective updates without requiring all environment fields. - [List environment permissions](https://docs.credibledata.com/admin-api-reference/environmentpermissions/list-environment-permissions.md): Retrieves all permission assignments for the specified environment, including user and group permissions with their roles and access levels. - [Create environment permission](https://docs.credibledata.com/admin-api-reference/environmentpermissions/create-environment-permission.md): Creates a new permission assignment for a user or group within the environment, granting them specific roles and access levels. Can also be used to request access to the environment when the user doesn't have admin permissions. - [Get environment permission](https://docs.credibledata.com/admin-api-reference/environmentpermissions/get-environment-permission.md): Retrieves the permission details for a specific user or group within the environment, including their role and access level. - [Delete environment permission](https://docs.credibledata.com/admin-api-reference/environmentpermissions/delete-environment-permission.md): Removes the permission assignment for a user or group within the environment, revoking their access to environment resources. - [Update environment permission](https://docs.credibledata.com/admin-api-reference/environmentpermissions/update-environment-permission.md): Updates the permission assignment for a user or group within the environment, modifying their role and access level. - [List package permissions](https://docs.credibledata.com/admin-api-reference/packagepermissions/list-package-permissions.md): Retrieves all permission assignments for the specified package, including user and group permissions with their roles and access levels. - [Create package permission](https://docs.credibledata.com/admin-api-reference/packagepermissions/create-package-permission.md): Creates a new permission assignment for a user, group, or workspace within the package, granting them specific roles and access levels. Can also be used to request access to the package when the user doesn't have admin or modeler permissions. - [Get package permission](https://docs.credibledata.com/admin-api-reference/packagepermissions/get-package-permission.md): Retrieves the permission details for a specific user, group within the package, including their role and access level. - [Delete package permission](https://docs.credibledata.com/admin-api-reference/packagepermissions/delete-package-permission.md): Removes the permission assignment for a user, group, or workspace within the package, revoking their access to package resources. - [Update package permission](https://docs.credibledata.com/admin-api-reference/packagepermissions/update-package-permission.md): Updates the permission assignment for a user, group, or workspace within the package, modifying their role and access level. - [List package versions](https://docs.credibledata.com/admin-api-reference/versions/list-package-versions.md): Retrieves all versions of a specific package, including version identifiers, creation timestamps, and archive status information. - [Get version details](https://docs.credibledata.com/admin-api-reference/versions/get-version-details.md): Retrieves detailed information about a specific package version including metadata, archive status, and creation details. - [Update version status](https://docs.credibledata.com/admin-api-reference/versions/update-version-status.md): Updates the status of a specific package version, typically used for archiving or unarchiving versions to control their availability. - [List database connections](https://docs.credibledata.com/admin-api-reference/connections/list-database-connections.md): Retrieves all database connections configured for the specified environment, including connection metadata, status, and configuration details. - [Create database connection](https://docs.credibledata.com/admin-api-reference/connections/create-database-connection.md): Creates a new database connection for the specified environment with secure credential storage and connection validation. - [Get connection details](https://docs.credibledata.com/admin-api-reference/connections/get-connection-details.md): Retrieves detailed information about a specific database connection including configuration, status, and metadata (credentials are not included for security). - [Delete database connection](https://docs.credibledata.com/admin-api-reference/connections/delete-database-connection.md): Permanently deletes a database connection and removes all associated credentials. This operation is irreversible. - [Update database connection](https://docs.credibledata.com/admin-api-reference/connections/update-database-connection.md): Updates the configuration of an existing database connection, including credentials, settings, and connection parameters. - [List materializations for a version](https://docs.credibledata.com/admin-api-reference/materializations/list-materializations-for-a-version.md): Lists the per-source materializations bound to a package version (Malloy Persistence v0), most recent first. Each materialization is the lineage anchor for one persist source of the version — identified within the version by its (`sourceName`, `modelFilePath`) — and points at the physical table curr… - [Get a materialization](https://docs.credibledata.com/admin-api-reference/materializations/get-a-materialization.md) - [List indexes for a version](https://docs.credibledata.com/admin-api-reference/indexes/list-indexes-for-a-version.md): Lists the per-dimension search indexes bound to a package version, most recent first. Each index is the version's serving anchor for one indexed (`#(index)`-tagged) dimension. The underlying built index is content-addressed and package-scoped (shared across versions that define the same dimension),… - [Get an index](https://docs.credibledata.com/admin-api-reference/indexes/get-an-index.md) - [List runs for a package](https://docs.credibledata.com/admin-api-reference/runs/list-runs-for-a-package.md): Lists build/refresh runs for this package, most recent first. A run is a single **package-level** build event carrying typed units — materialized sources (table units) and built indexes (index units). A run defaults to a full run spanning both families — a publish, an on-demand rebuild, and a schedu… - [Create a run (rebuild a version, or a single scoped unit)](https://docs.credibledata.com/admin-api-reference/runs/create-a-run-rebuild-a-version-or-a-single-scoped-unit.md): Starts a run for this package's version identified by `versionId`. By default (no scope selectors) it is a **full run** that re-materializes every persist source in the version **and** rebuilds every indexed dimension it defines — one run driving both unit families through the same two-phase build (… - [Get a run](https://docs.credibledata.com/admin-api-reference/runs/get-a-run.md) - [Perform an action on a run](https://docs.credibledata.com/admin-api-reference/runs/perform-an-action-on-a-run.md): Performs an action on a run. The action is specified via the `action` query parameter: * `cancel` - Cancels an in-flight (non-terminal) run. - [List workspaces in organization](https://docs.credibledata.com/admin-api-reference/workspaces/list-workspaces-in-organization.md): Retrieves all workspaces within the specified organization, optionally filtered to show only writable workspaces for the current user. - [Create a new workspace](https://docs.credibledata.com/admin-api-reference/workspaces/create-a-new-workspace.md): Creates a new collaborative workspace within the organization for team-based data modeling and analysis activities. - [Get or create personal workspace](https://docs.credibledata.com/admin-api-reference/workspaces/get-or-create-personal-workspace.md): Gets or creates a personal workspace for the current user. This workspace is private and only the user has permissions to read and write documents in it. - [Get workspace details](https://docs.credibledata.com/admin-api-reference/workspaces/get-workspace-details.md): Retrieves detailed information about a specific workspace, including its metadata, associated packages, and configuration settings. - [Delete workspace](https://docs.credibledata.com/admin-api-reference/workspaces/delete-workspace.md): Permanently deletes a workspace and all its associated data, including packages, permissions, and configuration. This action cannot be undone. - [Update workspace details](https://docs.credibledata.com/admin-api-reference/workspaces/update-workspace-details.md): Partially updates a workspace's details, including description and configuration settings. Only the provided fields will be updated. - [List workspace permissions](https://docs.credibledata.com/admin-api-reference/workspacepermissions/list-workspace-permissions.md): Retrieves all permission assignments for the specified workspace, including user and group permissions with their roles and access levels. - [Create workspace permission](https://docs.credibledata.com/admin-api-reference/workspacepermissions/create-workspace-permission.md): Creates a new permission assignment for a user or group within the workspace, granting them specific roles and access levels. Can also be used to request access to the workspace when the user doesn't have manager permissions. - [Adds package access to a workspace](https://docs.credibledata.com/admin-api-reference/workspacepermissions/adds-package-access-to-a-workspace.md) - [Removes package access from a workspace](https://docs.credibledata.com/admin-api-reference/workspacepermissions/removes-package-access-from-a-workspace.md) - [Get workspace permission](https://docs.credibledata.com/admin-api-reference/workspacepermissions/get-workspace-permission.md): Retrieves the permission details for a specific user or group within the workspace, including their role and access level. - [Delete workspace permission](https://docs.credibledata.com/admin-api-reference/workspacepermissions/delete-workspace-permission.md): Removes the permission assignment for a user or group within the workspace, revoking their access to workspace resources. - [Update workspace permission](https://docs.credibledata.com/admin-api-reference/workspacepermissions/update-workspace-permission.md): Updates the permission assignment for a user or group within the workspace, modifying their role and access level. - [List workspace documents](https://docs.credibledata.com/admin-api-reference/documents/list-workspace-documents.md): Retrieves all documents within the specified workspace, including workbooks, dashboards, and other content files. - [Create document](https://docs.credibledata.com/admin-api-reference/documents/create-document.md): Creates a new document within the workspace (the `{workspaceName}` in the path is the destination), such as a workbook or dashboard. - [Get document details](https://docs.credibledata.com/admin-api-reference/documents/get-document-details.md): Retrieves detailed information about a specific document including content, metadata, and configuration details. - [Delete document](https://docs.credibledata.com/admin-api-reference/documents/delete-document.md): Permanently deletes a document from the workspace. This operation is irreversible. - [Update document](https://docs.credibledata.com/admin-api-reference/documents/update-document.md): Updates the content and metadata of an existing document within the workspace. - [List document permissions](https://docs.credibledata.com/admin-api-reference/documentpermissions/list-document-permissions.md): Retrieves all permission assignments for the specified document, including user and group permissions with their roles and access levels. - [Create document permission](https://docs.credibledata.com/admin-api-reference/documentpermissions/create-document-permission.md): Creates a new permission assignment for a user or group within the document, granting them specific roles and access levels. Can also be used to request access to the document when the user doesn't have editor or workspace manager permissions. - [Get document permission](https://docs.credibledata.com/admin-api-reference/documentpermissions/get-document-permission.md): Retrieves the permission details for a specific user or group within the document, including their role and access level. - [Delete document permission](https://docs.credibledata.com/admin-api-reference/documentpermissions/delete-document-permission.md): Removes the permission assignment for a user or group within the document, revoking their access to document resources. - [Update document permission](https://docs.credibledata.com/admin-api-reference/documentpermissions/update-document-permission.md): Updates the permission assignment for a user or group within the document, modifying their role and access level. - [List organization groups](https://docs.credibledata.com/admin-api-reference/groups/list-organization-groups.md): Retrieves all groups within the specified organization, including metadata such as names, descriptions, and member counts. - [Create user group](https://docs.credibledata.com/admin-api-reference/groups/create-user-group.md): Creates a new user group within the organization for organizing users and managing group-based permissions. - [Get group details](https://docs.credibledata.com/admin-api-reference/groups/get-group-details.md): Retrieves detailed information about a specific group including metadata, description, and configuration details. - [Delete user group](https://docs.credibledata.com/admin-api-reference/groups/delete-user-group.md): Permanently deletes a user group and removes all associated permissions. This operation is irreversible. - [Update group configuration](https://docs.credibledata.com/admin-api-reference/groups/update-group-configuration.md): Updates the configuration and metadata of an existing group, including description and other group-level properties. - [Get group members](https://docs.credibledata.com/admin-api-reference/groups/get-group-members.md): Retrieves all members of a group from FGA (Fine-Grained Authorization), including users and nested groups with their membership status and roles. - [Add group members](https://docs.credibledata.com/admin-api-reference/groups/add-group-members.md): Adds new members to a group, including users and nested groups with their specified roles and status. - [Remove group members](https://docs.credibledata.com/admin-api-reference/groups/remove-group-members.md): Removes members from a group, revoking their group membership and associated permissions. - [Update group member status](https://docs.credibledata.com/admin-api-reference/groups/update-group-member-status.md): Updates a member's status (admin/member) in a group. This operation manages group membership through FGA (Fine-Grained Authorization) and affects the member's permissions within the group. - [List group tokens](https://docs.credibledata.com/admin-api-reference/groups/list-group-tokens.md): Retrieves all access tokens for the specified group. Token secrets are not included in the response for security reasons. - [Create a new group token](https://docs.credibledata.com/admin-api-reference/groups/create-a-new-group-token.md): Creates a new access token for the specified group. The token secret is only returned in the response to this creation request and cannot be retrieved later. - [Delete a group token](https://docs.credibledata.com/admin-api-reference/groups/delete-a-group-token.md): Deletes an existing group token. This action is irreversible and will immediately invalidate the token. - [List bookmarks for current user](https://docs.credibledata.com/admin-api-reference/bookmarks/list-bookmarks-for-current-user.md): Retrieves all bookmarks for the current user within the specified organization. Optionally filter by bookmark type. - [Create a new bookmark](https://docs.credibledata.com/admin-api-reference/bookmarks/create-a-new-bookmark.md): Creates a new bookmark for the current user within the organization. Bookmarks allow users to save references to workspaces, models, and chat conversations. - [Get a specific bookmark](https://docs.credibledata.com/admin-api-reference/bookmarks/get-a-specific-bookmark.md): Retrieves a specific bookmark for the current user by type and object ID. - [Delete a bookmark](https://docs.credibledata.com/admin-api-reference/bookmarks/delete-a-bookmark.md): Deletes a specific bookmark for the current user. This operation cannot be undone. - [List trusted attributes and their assigned values](https://docs.credibledata.com/admin-api-reference/attributes/list-trusted-attributes-and-their-assigned-values.md): Returns every trusted attribute registered for the organization, each with its declared schema (name + type) and all assigned values across user/group/default scopes. Pages over attribute names; the embedded user-values within each attribute are NOT bounded by this pagination. - [Get a trusted attribute and its assigned values](https://docs.credibledata.com/admin-api-reference/attributes/get-a-trusted-attribute-and-its-assigned-values.md): Returns the attribute's declared schema (name + type) and all assigned user/group values. - [Set a user-scoped attribute value](https://docs.credibledata.com/admin-api-reference/attributes/set-a-user-scoped-attribute-value.md): Assigns (creates or replaces) the attribute value for one user. The value is type-checked against the attribute's declared type. - [Delete a user-scoped attribute value](https://docs.credibledata.com/admin-api-reference/attributes/delete-a-user-scoped-attribute-value.md): Deletes the attribute value for one user (idempotent). - [Set a group-scoped attribute value](https://docs.credibledata.com/admin-api-reference/attributes/set-a-group-scoped-attribute-value.md): Assigns (creates or replaces) the attribute value for one group, with an optional precedence rank (lower wins for scalar multi-group resolution). - [Delete a group-scoped attribute value](https://docs.credibledata.com/admin-api-reference/attributes/delete-a-group-scoped-attribute-value.md) - [Create user account](https://docs.credibledata.com/admin-api-reference/users/create-user-account.md): Creates a new user account with profile information and initial configuration. - [Get user details](https://docs.credibledata.com/admin-api-reference/users/get-user-details.md): Retrieves detailed information about a specific user including profile data, tutorial status, and account configuration. - [Delete user account](https://docs.credibledata.com/admin-api-reference/users/delete-user-account.md): Permanently deletes a user account and removes all associated data. This operation is irreversible. - [Update user account](https://docs.credibledata.com/admin-api-reference/users/update-user-account.md): Updates user profile information, tutorial status, and account configuration. - [Create demo environment](https://docs.credibledata.com/admin-api-reference/demo/create-demo-environment.md): Creates a demo environment with sample data and configurations for testing and demonstration purposes. - [Create self-service organization](https://docs.credibledata.com/admin-api-reference/demo/create-self-service-organization.md): Creates a new organization through self-service registration, allowing users to quickly set up their own organizational environment. - [List invite tokens](https://docs.credibledata.com/admin-api-reference/invites/list-invite-tokens.md): Lists previously-created invites along with their consumed state. Each row exposes its raw `token` (e.g. `ABCDE-FGHJK`) — tokens are non-secret signup codes, used as the natural id by `GET /invites/{token}` and `DELETE /invites/{token}`. - [Create an organization-creation invite token](https://docs.credibledata.com/admin-api-reference/invites/create-an-organization-creation-invite-token.md): Creates a single organization-creation invite token. The token can be redeemed exactly once via `POST /organizations` with the `X-Invite-Token` header set, to create a new organization on the fly. To mint a batch (e.g. for an outreach campaign), call this endpoint once per token — the operation is i… - [Get a single invite by its token](https://docs.credibledata.com/admin-api-reference/invites/get-a-single-invite-by-its-token.md): Returns invite metadata for the given token (e.g. `ABCDE-FGHJK`). Used by the signup flow to check redeemability before walking the user through MPA acceptance, and by admin tooling to inspect a specific invite. - [Revoke an unconsumed invite](https://docs.credibledata.com/admin-api-reference/invites/revoke-an-unconsumed-invite.md): Permanently deletes an unconsumed invite, rendering its token unredeemable. Used to revoke leaked or no-longer-needed invites from an outreach batch. Consumed invites are preserved for audit and cannot be deleted (returns 409). - [Create system permission](https://docs.credibledata.com/admin-api-reference/permissions/create-system-permission.md): Creates a system-level permission assignment for administrative functions, granting users elevated privileges across the platform. - [Data API Reference](https://docs.credibledata.com/data-api-reference.md): Complete Data API reference for Credible Data's REST endpoints - [Get server status and health information](https://docs.credibledata.com/data-api-reference/publisher/get-server-status-and-health-information.md): Returns the current status of the Malloy Publisher server, including initialization state, available environments, and server timestamp. This endpoint is useful for health checks and monitoring server availability. - [List all available environments](https://docs.credibledata.com/data-api-reference/environments/list-all-available-environments.md): Retrieves a list of all environments currently hosted on this Malloy Publisher server. Each environment contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available environments and their basic information. - [Create a new environment](https://docs.credibledata.com/data-api-reference/environments/create-a-new-environment.md): Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections. - [Get environment details and metadata](https://docs.credibledata.com/data-api-reference/environments/get-environment-details-and-metadata.md): Retrieves detailed information about a specific environment, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the environment state from disk before returning the information. - [Delete an environment](https://docs.credibledata.com/data-api-reference/environments/delete-an-environment.md): Permanently deletes an environment and all its associated resources including packages, connections, and metadata. This operation cannot be undone, so use with caution. The environment must exist and be accessible for deletion. - [Update environment configuration](https://docs.credibledata.com/data-api-reference/environments/update-environment-configuration.md): Updates the configuration and metadata of an existing environment. This allows you to modify environment settings, update the README, change the location, or update other environment-level properties. The environment must exist and be accessible. - [List environment database connections](https://docs.credibledata.com/data-api-reference/connections/list-environment-database-connections.md): Retrieves a list of all database connections configured for the specified environment. Each connection includes its configuration, type, and status information. This endpoint is useful for discovering available data sources within an environment. - [Get connection details](https://docs.credibledata.com/data-api-reference/connections/get-connection-details.md): Retrieves detailed information about a specific database connection within an environment. This includes connection configuration, credentials (if accessible), and metadata. Useful for inspecting connection settings and troubleshooting connectivity issues. - [Create a new database connection](https://docs.credibledata.com/data-api-reference/connections/create-a-new-database-connection.md): Creates a new database connection in the specified environment. - [Delete a database connection](https://docs.credibledata.com/data-api-reference/connections/delete-a-database-connection.md): Permanently deletes a database connection from the environment. - [Update an existing database connection](https://docs.credibledata.com/data-api-reference/connections/update-an-existing-database-connection.md): Updates the configuration of an existing database connection. - [List database schemas](https://docs.credibledata.com/data-api-reference/connections/list-database-schemas.md): Retrieves a list of all schemas (databases) available in the specified connection. Each schema includes metadata such as name, description, and whether it's the default schema. This endpoint is useful for exploring the database structure and discovering available data sources. - [List tables in database](https://docs.credibledata.com/data-api-reference/connections/list-tables-in-database.md): Retrieves a list of all tables and views available in the specified database schema. This endpoint is useful for discovering available data sources and exploring the database structure. The schema must exist in the connection for this operation to succeed. - [Get table details from database](https://docs.credibledata.com/data-api-reference/connections/get-table-details-from-database.md): Retrieves a table from the specified database schema. This endpoint is useful for discovering available data sources and exploring the database structure. The schema must exist in the connection for this operation to succeed. The tablePath is the full path to the table, including the schema name. - [Create SQL source from statement](https://docs.credibledata.com/data-api-reference/connections/create-sql-source-from-statement.md): Creates a Malloy source from a SQL statement using the specified database connection. The SQL statement is executed to generate a source definition that can be used in Malloy models. - [Execute SQL query](https://docs.credibledata.com/data-api-reference/connections/execute-sql-query.md): Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. - [Create temporary table](https://docs.credibledata.com/data-api-reference/connections/create-temporary-table.md): Creates a temporary table from a SQL statement using the specified database connection. Temporary tables are useful for storing intermediate results during complex queries and data processing workflows. - [List database schemas (per-package)](https://docs.credibledata.com/data-api-reference/connections/list-database-schemas-per-package.md): Retrieves a list of all schemas (databases) available in the specified connection, resolved in the context of the named package. Required for `connectionName="duckdb"`, which is per-package; works for any other connection name as well (resolution falls through to the environment). - [List tables in database (per-package)](https://docs.credibledata.com/data-api-reference/connections/list-tables-in-database-per-package.md): Retrieves a list of all tables and views available in the specified database schema, resolved in the context of the named package. - [Get table details from database (per-package)](https://docs.credibledata.com/data-api-reference/connections/get-table-details-from-database-per-package.md): Retrieves a table from the specified database schema, resolved in the context of the named package. - [Create SQL source from statement (per-package)](https://docs.credibledata.com/data-api-reference/connections/create-sql-source-from-statement-per-package.md): Creates a Malloy source from a SQL statement using the specified connection, resolved in the context of the named package. - [Execute SQL query (per-package)](https://docs.credibledata.com/data-api-reference/connections/execute-sql-query-per-package.md): Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. - [Create temporary table (per-package)](https://docs.credibledata.com/data-api-reference/connections/create-temporary-table-per-package.md): Creates a temporary table from a SQL statement using the specified database connection, resolved in the context of the named package. - [List environment packages](https://docs.credibledata.com/data-api-reference/packages/list-environment-packages.md): Retrieves a list of all Malloy packages within the specified environment. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata. - [Create a new package](https://docs.credibledata.com/data-api-reference/packages/create-a-new-package.md): Creates a new Malloy package within the specified environment. A package serves as a container for models, notebooks, embedded databases, and other resources. The package will be initialized with the provided metadata and can immediately accept content. - [Get package details and metadata](https://docs.credibledata.com/data-api-reference/packages/get-package-details-and-metadata.md): Retrieves detailed information about a specific package, including its models, notebooks, databases, and metadata. The reload parameter can be used to refresh the package state from disk before returning the information. The versionId parameter allows access to specific package versions. - [Delete a package](https://docs.credibledata.com/data-api-reference/packages/delete-a-package.md): Permanently deletes a package and all its associated resources including models, notebooks, databases, and metadata. This operation cannot be undone, so use with caution. The package must exist and be accessible for deletion. - [Update package configuration](https://docs.credibledata.com/data-api-reference/packages/update-package-configuration.md): Updates the configuration and metadata of an existing package. This allows you to modify package settings, update the description, change the location, or update other package-level properties. The package must exist and be accessible. - [List package models](https://docs.credibledata.com/data-api-reference/models/list-package-models.md): Retrieves a list of all Malloy models within the specified package. Each model entry includes the relative path, package name, and any compilation errors. This endpoint is useful for discovering available models and checking their status. - [Get compiled Malloy model](https://docs.credibledata.com/data-api-reference/models/get-compiled-malloy-model.md): Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model's structure, sources, and named queries for use in applications. - [Execute Malloy query](https://docs.credibledata.com/data-api-reference/models/execute-malloy-query.md): Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data… - [Compile Malloy source code](https://docs.credibledata.com/data-api-reference/models/compile-malloy-source-code.md): Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and… - [List package notebooks](https://docs.credibledata.com/data-api-reference/notebooks/list-package-notebooks.md): Retrieves a list of all Malloy notebooks within the specified package. Each notebook entry includes the relative path, package name, and any compilation errors. This endpoint is useful for discovering available notebooks and checking their status. - [Get Malloy notebook cells](https://docs.credibledata.com/data-api-reference/notebooks/get-malloy-notebook-cells.md): Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. - [Execute a specific notebook cell](https://docs.credibledata.com/data-api-reference/notebooks/execute-a-specific-notebook-cell.md): Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. - [List embedded databases](https://docs.credibledata.com/data-api-reference/databases/list-embedded-databases.md): Retrieves a list of all embedded databases within the specified package. These are typically DuckDB databases stored as .parquet files that provide local data storage for the package. Each database entry includes metadata about the database structure and content. - [List package pages](https://docs.credibledata.com/data-api-reference/pages/list-package-pages.md): Retrieves a list of all static HTML pages (in-package data apps) within the specified package. Each page entry includes the relative path, the package name, a canonical resource URL, and the page title (extracted from the file's tag, falling back to the path). Used by the Publisher SPA to su… - [Stream package change events (SSE)](https://docs.credibledata.com/data-api-reference/watch-mode/stream-package-change-events-sse.md): Opens a Server-Sent Events (SSE) stream of file-change events for the package, used by in-package HTML data apps (via the publisher.js runtime) to live-reload when their sources are edited. - [Get watch mode status](https://docs.credibledata.com/data-api-reference/watch-mode/get-watch-mode-status.md): Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected. - [Start file watching](https://docs.credibledata.com/data-api-reference/watch-mode/start-file-watching.md): Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time. - [Stop file watching](https://docs.credibledata.com/data-api-reference/watch-mode/stop-file-watching.md): Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment. - [Test database connection configuration](https://docs.credibledata.com/data-api-reference/connectionstest/test-database-connection-configuration.md): Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurat… - [List materializations for a package](https://docs.credibledata.com/data-api-reference/materializations/list-materializations-for-a-package.md): Returns the materialization history for the package, ordered by most recent first. - [Create a materialization](https://docs.credibledata.com/data-api-reference/materializations/create-a-materialization.md): Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package's already-compiled build plan (re… - [Get a specific materialization](https://docs.credibledata.com/data-api-reference/materializations/get-a-specific-materialization.md) - [Perform an action on a materialization](https://docs.credibledata.com/data-api-reference/materializations/perform-an-action-on-a-materialization.md): Performs an action on a materialization. The action is specified via the `action` query parameter: * `stop` - Cancels a PENDING or building materialization. Returns 200. - [Delete a materialization](https://docs.credibledata.com/data-api-reference/materializations/delete-a-materialization.md): Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. By default this removes the publisher's record only; the caller owns table GC. Set dropTables=true to also drop the physical tables this run produced (from the materialization's manifest) as a best-effort cleanup. - [Retrieval API Reference](https://docs.credibledata.com/retrieval-api-reference.md): Complete Retrieval API reference for Credible Data's REST endpoints - [Search semantic model context](https://docs.credibledata.com/retrieval-api-reference/retrieval/search-semantic-model-context.md): Search across published semantic models. Each `search_targets` entry picks an entity type (`source`, `dimension`, `measure`, `view`, or `dimensional_value`) with optional `search_text`; omitting `search_text` returns the most prominent items of that type. Results are sources with matched entities, r… - [Search or enumerate indexed connection entities](https://docs.credibledata.com/retrieval-api-reference/retrieval/search-or-enumerate-indexed-connection-entities.md): Search for (or, with `skip_matching`, enumerate) connection-scoped entities in the connection index (tables, columns, and modeling suggestions). Results are always grouped by table. Powers the Credible app's connection schema viewer and the MCP `search_database_schema` / `search_modeling_suggestions… - [Coding API Reference](https://docs.credibledata.com/coding-api-reference.md): Complete Coding API reference for Credible Data's REST endpoints - [Search Malloy documentation](https://docs.credibledata.com/coding-api-reference/codeassist/search-malloy-documentation.md): Search Credible's packaged Malloy documentation and return a synthesized answer with relevant passages and code snippets. The corpus is global and the same for every caller — no organization/workspace context is used. Authenticate with `Authorization: Bearer <auth0-jwt>` or `Authorization: ApiKey <g… - [Search Credible documentation](https://docs.credibledata.com/coding-api-reference/codeassist/search-credible-documentation.md): Search Credible's platform documentation and return the most relevant content as plain text. Authenticate with `Authorization: Bearer <auth0-jwt>` or `Authorization: ApiKey <group-access-token>`. - [Get categorized skill set for a manifest](https://docs.credibledata.com/coding-api-reference/codeassist/get-categorized-skill-set-for-a-manifest.md): Used by the Credible VS Code extension; not part of the external integration surface. Returns the skills referenced by a manifest in the agent-skills repo, categorized into auto_discovered and supporting groups. If version is omitted, the server resolves it via a Flagsmith flag (`agent_skills_versio… - [List manifests available in the agent-skills repo](https://docs.credibledata.com/coding-api-reference/codeassist/list-manifests-available-in-the-agent-skills-repo.md): Used by the Credible VS Code extension; not part of the external integration surface. Discovers all manifests present in the latest version of the agent-skills repo and returns each with its resolved (Flagsmith or latest) version. - [Get information about what extension version is supported](https://docs.credibledata.com/coding-api-reference/codeassist/get-information-about-what-extension-version-is-supported.md): Used by the Credible VS Code extension; not part of the external integration surface. The extension calls this before authenticating to learn the minimum supported version, so it is unauthenticated. ## OpenAPI Specs - [retrieval-public-api](https://docs.credibledata.com/retrieval-public-api.yaml) - [dataplane-public-api-doc](https://docs.credibledata.com/dataplane-public-api-doc.yaml) - [controlplane-public-api-doc](https://docs.credibledata.com/controlplane-public-api-doc.yaml) - [code-assist-public-api](https://docs.credibledata.com/code-assist-public-api.yaml)