Skip to main content
GET
/
organizations
/
{organizationName}
/
workspaces
/
{workspaceName}
/
documents
/
{documentPath}
{
  "path": "<string>",
  "content": "<string>",
  "type": "workbook",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

organizationName
string
required

The unique identifier of the organization

workspaceName
string
required

The unique identifier of the workspace

documentPath
string
required

The path to the document within the workspace

Query Parameters

checkAdmin
boolean
default:false

Whether to verify admin privileges for the resource

Response

Document updated successfully

Represents a document within a workspace, such as a workbook or dashboard

path
string

The file path of the document within the workspace

content
string

The content of the document, typically Malloy code or configuration

type
enum<string>

The type of document, determining its purpose and behavior

Available options:
workbook,
dashboard
createdAt
string<date-time>

ISO 8601 timestamp indicating when the document was created

updatedAt
string<date-time>

ISO 8601 timestamp indicating when the document was last modified

I