Update a view
Update an existing view.
Only provided fields will be updated.
If is_default is true, any existing default view for this document
type will be unset.
Returns: ViewResponse with updated view details.
Raises: HTTPException 400: Invalid fields or duplicate name HTTPException 404: View not found
Authorizations
API Key authentication. Format: dk_test_ or dk_live_
Path Parameters
View ID
Body
Request for updating a view (PUT /v1/views/{view_id}).
All fields are optional - only provided fields will be updated.
Response
Updated view
Tenant view response.
Views define which fields from extracted data are returned when querying documents.
Unique identifier for the view
Document type code this view applies to
View name (e.g., 'accounting', 'compliance')
List of field names included in this view
Whether this is the default view for this document type
View creation timestamp (ISO 8601)
Last modification timestamp (ISO 8601)
Optional description of the view's purpose