Skip to main content
PATCH
Update Document

Authorizations

Oai-Api-Key
string
header
required

Path Parameters

id
string
required
Example:

"document_123"

Body

application/json

Document update data

spaceId
string
required

The ID of the space containing the document

Example:

"space_123"

status
enum<string>
Available options:
PENDING,
PROCESSING,
COMPLETED,
FAILED
errorMessage
string | null
metadata
object
content
string
Required string length: 1 - 10000000

Response

Document updated successfully

document
object
required