Update a document

Updates the configuration of a document by its unique document ID.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The unique identifier for the new application.

int64
required
Body Params
string

The name of the document.

string
enum

The refresh interval of the document.

Allowed:
string | null

New ingestion source (DOCUMENT_GROUP) that will own the document.

config
object

Source-specific configuration options.

documentMetadata
object

Document metadata including RBAC (Role-Based Access Control) configuration.

RBAC Fields:

  • visibilityMode (string): Controls document visibility. Values: "public" (default) or "restricted".
  • accessFilters (array of strings): Access control tags/labels for filtering. Required when visibilityMode is "restricted".

Default behavior: If not provided, defaults to {"visibilityMode":"public","accessFilters":[]}.

Validation: Documents with visibilityMode: "restricted" MUST include at least one value in accessFilters, otherwise the API will reject the request with a 422 error.

Additional fields: You can include other custom metadata fields (e.g., source, relatedDocuments, etc.) as needed.

Example:

{
  "visibilityMode": "restricted",
  "accessFilters": ["tier1", "compliance", "rrhh"],
  "source": "intranet",
  "category": "policies"
}
string

The time to update the document.

string | null

When provided, chunks from this document are ignored after this timestamp.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json