The Collection API manages collections in Metabase. Collections are folders that organize dashboards, questions, and other content. This API includes 12 endpoints.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/metabase/metabase/llms.txt
Use this file to discover all available pages before exploring further.
List collections
Get all collections you have access to.Query parameters
Show archived collections instead of active ones (default: false)
Hide other users’ personal collections (default: false)
Show only personal collections (default: false)
Filter by namespace (e.g., “snippets”)
Response
Whether you have write permissions for this collection
Get collection
Get details about a specific collection.Parameters
Collection ID
Response
Collection ID
Collection name
Collection description
Color hex code for the collection icon
Whether the collection is archived
Parent collection ID (null for top-level collections)
User ID if this is a personal collection
Authority level (“official” or null)
Create collection
Create a new collection.Request body
Collection name (minimum 1 character)
Collection description
Color hex code (e.g., “#509EE3”)
Parent collection ID to create a nested collection
Namespace for special collection types
Set to “official” to mark as an official collection (requires admin)
Update collection
Update an existing collection.Parameters
Collection ID
Request body
All fields are optional.Updated collection name
Updated description
Updated color
Archive or unarchive the collection
Move to a different parent collection
Delete collection
Permanently delete a collection.Get collection items
Get all items (dashboards, questions, etc.) in a collection.Query parameters
Filter by model types: card, dashboard, dataset, collection, etc.
Include archived items (default: false)
Filter by pin state: is_pinned, is_not_pinned, or all
Sort by: name, last_edited_at, last_edited_by, model, or description
Sort direction: asc or desc
Response
Root collection
Get root collection
Get the root collection (top-level).The root collection is a virtual collection that contains all items not in any other collection.
Get root collection items
Get items in the root collection./api/collection/{id}/items.
Collection tree
Get the full collection hierarchy tree.Response
Returns a nested tree structure of all collections:Collection permissions
Get permissions graph
Get the full collection permissions graph.Requires admin permissions.
Update permissions graph
Update collection permissions for groups.Request body
Map of group IDs to their collection permissionsPermission values:
"none"- No access"read"- Read-only access"write"- Full access
Current revision number (for optimistic locking)
Query parameters
Skip revision check and force update (default: false)
Only return revision, not full graph (default: false)