Skip to main content
PATCH

Authorizations

X-API-KEY
string
header
required

Your API key. Include it in every request as the X-API-KEY header. Create and manage keys in the Developer Platform.

Path Parameters

content_id
string
required

Content ID of the document to update (32-character uppercase hexadecimal string).

Pattern: ^[A-F0-9]{32}$
Example:

"E0618D0E9D3A960C1731A620EDE56B5C"

Body

application/json

Fields to update on a document. Include only the properties you want to change.

tags
string<uuid>[]

Tag IDs to assign to the document. Replaces the current tag assignment. Every ID must exist; otherwise the API returns INVALID_TAGS_ERROR.

Example:
share_with_org
boolean

If true, all members of your organization can access the document. If false, only you can access it.

Example:

false

Response

Updated document metadata.

Metadata for a single document. Returned by List documents and Get document. Use the id (content_id) with Get annotated document or Get original document to retrieve the file content.

id
string
required

Content ID: unique 32-character uppercase hexadecimal identifier for the document. Use this when calling Get document, Get annotated document, or Get original document.

Example:

"E0618D0E9D3A960C1731A620EDE56B5C"

file_name
string
required

Original file name of the uploaded document.

Example:

"Weekly summary report.eml"

user_id
string
required

ID of the user who uploaded the document.

Example:

"user_id_001"

org_id
string
required

ID of the organization the document belongs to.

Example:

"org_id_001"

status
enum<string>
required

Processing status of the document.

Available options:
pending,
processing,
completed,
failed
created_at
string<date-time>
required

Timestamp when the document was created.

Example:

"2026-02-03T08:43:02.729356Z"

updated_at
string<date-time>
required

Timestamp when the document was last updated.

Example:

"2026-02-03T08:43:02.729359Z"

published_at
string<date-time>
required

Timestamp when the document was published. This is the reference timestamp used for search and retrieval.

Example:

"2026-02-03T08:43:02.729359Z"

rp_collection_id
string

ID of the collection the document belongs to. This is applicable only for emails and attachments.

Example:

"2CBDC7DA8AE42A8A078DECC3C9FCADFB"

raw_size
integer

Size of the raw document in bytes.

Example:

18974

request_origin
enum<string>

Origin of the content ingestion request: how the document entered the platform.

Available options:
email,
investment_research,
sharepoint,
file_upload
content_type
string

MIME type of the document.

Example:

"message/rfc822"

shared_with_orgs
string[]

List of organization IDs the document is shared with.

Example:
connector_id
string<uuid>

ID of the connector used to upload the document.

Example:

"019a9612-bfad-758c-884e-37dd8c6ad2cb"

error_code
string | null

Error code if the document processing failed.

Example:

null

delete_started_ts
string<date-time> | null

Timestamp when document deletion started, if applicable.

Example:

null

file_metadata
object | null

Additional metadata about the file.

Example:

null

tags
object[]

Tags associated with the document.