Search the rows of a register.
POST/api/v1/custom-field-templates/{custom_field_template_id}/rows/searchregisters:read
The rows the caller may read, in row order. The route takes no search filters yet (the endpoint map names none); the list filters are on GET …/rows.
| Scope | registers:read |
| Asynchronous | No |
| MCP tool | search_custom_field_template_rows |
| Paging | snapshot |
| Default order | row_id |
| Sort fields | row_id |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
custom_field_template_id | path | string | Required | |
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 |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json object |
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, 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 Row | 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.
| Code | Status |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
not_found | 404 |
method_not_allowed | 405 |
not_acceptable | 406 |
cursor_expired | 410 |
wrong_region | 421 |
invalid_cursor | 422 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
Schemas
Row
| Field | Type | Required | Description |
|---|---|---|---|
can_edit | boolean | Required | The caller may change, delete, link and unlink the row: the predicate the write routes enforce (an edit grant, or an unsecured register, and the row is not locked). |
custom_field_template_id | string | Required | |
import_batch_id | string or null | Required | The import batch that staged the row, if any. |
is_locked | boolean | Required | A lock freezes the row for everyone: no one can change it (a locked row is never editable). |
linked_document_count | integer | Required | How many documents linked to the row you can read (the Portal's Linked Docs column); 0 for a Grid template's row, which sits on a document. ≥ -2147483648; ≤ 2147483647 |
owner | object or object or object or object or null | Required | The document the row sits on; null for a register row, or for a document row stored without a document. |
projects | array of RowProject | Required | The projects the row is granted to (GridLink registers): everyone who can read a project reads the row, read only, and the row is project-scoped. A project the caller cannot read is listed as hidden. Empty for a shared row. |
row_id | string | Required | |
updated_at | string (date-time) or null | Required | When the row was last written. |
updated_by | UserRef or null | Required | |
values | object | Required | The values keyed by field name, in the v1 read types. |
values_raw | object | Required | The Notepad fields' documents, keyed by field name. |
RowProject
| Field | Type | Required | Description |
|---|---|---|---|
is_hidden | boolean | Required | The row is granted to a project the caller cannot read: it is not named. |
project_id | string or null | Required | Null when the caller cannot read the project (is_hidden). |
project_name | string or null | Required |
UserRef
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | Required | |
kind | string: user, system, integration or string | Required | |
user_id | string or null | Required |