Actions15
- Item Actions
- Container Actions
- Database Actions
Database → Get
AI-generatedSummary
Retrieve detailed information about a specific database in your Azure Cosmos DB account by specifying the database name or ID.
Inputs
- Authentication Type (required) — Select the authentication method for connecting to Cosmos DB: Master Key or Microsoft Entra ID (Azure AD).
- Database Name or ID (required) — Select the target database from a dynamically loaded list based on authentication or provide its ID via an expression.
- Simplify Output — Choose whether to return a simplified output with only common fields, excluding other metadata.
- Use Dev Override (Custom Endpoint + Token) — Optionally bypass OAuth by supplying a custom Cosmos DB endpoint and bearer token for development.
- Custom Endpoint — Specify the Cosmos DB account endpoint URL when using Dev Override.
- Custom Access Token — Provide a bearer token scoped to https://cosmos.azure.com/ when using Dev Override.
Output shape
a single record representing the database definition or its simplified version
Output depends on the Simplify Output setting: if true, returns common fields like the database ID; otherwise, returns the complete database resource object. Errors during retrieval are returned per item.
Examples
Example 1: Retrieve a database named 'myDatabase' using Master Key authentication with simplified output.
Set Authentication Type to 'Master Key', choose 'myDatabase' for Database Name or ID, and enable Simplify Output.