List the link and unlink history of a gridlink section.
GET/api/v1/custom-field-templates/{custom_field_template_id}/link-historyaudits:read
The transactions that linked or unlinked rows in a gridlink section of a custom-field template for one document or folder, newest first. Same rules as list_custom_field_template_version_history: limit reads the newest transactions (at most 500), next_cursor is always null, View Custom Field Versions is needed.
| Scope | audits:read |
| Asynchronous | No |
| MCP tool | list_custom_field_template_link_history |
| Portal permissions | view_custom_field_versions |
| Paging | keyset |
| Default order | -occurred_at |
| Sort fields | occurred_at |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
custom_field_template_id | path | string | Required | |
owner_type | query | string | Required | What owns the section's rows: document, folder, register_row (a row of another register, whose ID is owner_id) or direct_grid_link (a gridlink with no owner; owner_id is then left out). |
owner_id | query | string or null | Optional | The owner's ID; required unless owner_type is direct_grid_link. |
limit | query | integer | Optional | Default: 50; ≥ 1 |
cursor | query | string | Optional | |
sort | query | string | Optional | Comma-separated sort fields, - for descending. |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json object |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
410 | cursor_expired | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | invalid_cursor, unsupported_for_tenant, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
200 body
| Field | Type | Required | Description |
|---|---|---|---|
items | array of CustomFieldLinkVersion | Required | |
next_cursor | string or null | Required | |
warnings | array of object | Required |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
CustomFieldLinkEvent
| Field | Type | Required | Description |
|---|---|---|---|
operation | string | Required | link or unlink. |
row_label | string or null | Required |
CustomFieldLinkVersion
| Field | Type | Required | Description |
|---|---|---|---|
actor_name | string or null | Required | |
actor_source | string | Required | |
events | array of CustomFieldLinkEvent | Required | The first events the transaction made; total_events counts them all. |
occurred_at | string (date-time) | Required | |
total_events | integer | Required | ≥ -2147483648; ≤ 2147483647 |
transaction_number | string | Required |