Support
Log In
Documents

Create document

Creates a new document within the workspace (the {workspaceName} in the path is the destination), such as a workbook or dashboard.

POST/organizations/{organizationName}/workspaces/{workspaceName}/documents

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

organizationName*string

The unique identifier of the organization

Match^[a-zA-Z0-9_ -]+$
workspaceName*string

The unique identifier of the destination workspace

Match^(?!.*\*)(?!.*[/]).{1,63}$

Query Parameters

overwrite?boolean

If true, the document will be overwritten if it already exists

moveFrom?string

Optional credible:// URI of a source document to relocate into this workspace (e.g. credible://workspaces/{sourceWorkspace}/documents/{sourcePath}). When set, the source document is moved here under the same path and the request body is ignored. Only data chats and reports may be moved. Not constrained by ResourceIdentifierPattern: the embedded workspace name and document path allow spaces and punctuation (see WorkspaceNamePattern / DocumentPathPattern). The URI is structurally validated by the server (parsed into workspace + document path) and the move is authorized against the resolved source document.

Lengthlength <= 512

Request Body

application/json

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

Response Body

application/json

application/json

application/json

application/json

application/json

application/json