List workspace documents
Retrieves all documents within the specified workspace, including workbooks, dashboards, and other content files.
Authorization: Requires read access to the workspace. Response: Returns array of document objects with metadata and content information.
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
Workspace name pattern. Allows any character except / (would split the FGA resource path — see ResourceIdentifier.parseFromFga) and * (FGA wildcard). 1-63 chars.
^(?!.*\*)(?!.*[/]).{1,63}$Query Parameters
If true, include the document content in the response. Defaults to false.
Response
List of documents retrieved successfully
The file path of the document within the workspace
255^(?!.*\.\.)[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, agent_modeling_file, agent_html_report, draft_agent_html_report, draft_agent_report, draft_package, model_summary 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)