Create document
Creates a new document within the workspace, such as a workbook or dashboard.
Authorization: Requires workspace manager or editor permissions.
Parameters: Use overwrite to replace existing documents with the same path.
Content: Supports Malloy code, configuration, and other document types.
Documentation Index
Fetch the complete documentation index at: https://docs.credibledata.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the organization Standard identifier pattern for resource names
^[a-zA-Z0-9_-]+$The unique identifier of the workspace Standard identifier pattern for resource names
^[a-zA-Z0-9_-]+$Query Parameters
If true, the document will be overwritten if it already exists
Body
Represents a document within a workspace, such as a workbook or dashboard
The file path of the document within the workspace
^[a-zA-Z0-9_/.-]+$The content of the document, typically Malloy code or configuration
The type of document, determining its purpose and behavior
workbook, dashboard, modeling_chat, data_chat, agent_report ISO 8601 timestamp indicating when the document was created
ISO 8601 timestamp indicating when the document was last modified
The userId of the user who last modified this document
Optional JSON metadata associated with the document (e.g. title, tags)
Response
Document created successfully
Represents a document within a workspace, such as a workbook or dashboard
The file path of the document within the workspace
^[a-zA-Z0-9_/.-]+$The content of the document, typically Malloy code or configuration
The type of document, determining its purpose and behavior
workbook, dashboard, modeling_chat, data_chat, agent_report ISO 8601 timestamp indicating when the document was created
ISO 8601 timestamp indicating when the document was last modified
The userId of the user who last modified this document
Optional JSON metadata associated with the document (e.g. title, tags)