What the query answers with.
API reference sections
Schema
AttributeQueryResponse
Type object
Shape
| Field | Type | Description |
|---|---|---|
| rowsrequired | array of AttributeRow | The matching nodes, one row each, in the requested order. |
| definitionsrequired | array of AttributeDefinition | Every attribute definition in play: the system registry always, plus the scoped workspaces' custom definitions - so a filter UI builds its controls from types rather than guessing. |
| tagsrequired | array of AttributeTag | The scoped workspaces' tag tables (live tags only, merge tombstones resolved away), so a |
| groups | array of AttributeGroup | Corpus-wide counts per tag, when the query asked for them with Names are not repeated here: a group carries the Default |
| projectedrequired | boolean | Whether every workspace in scope has reached the read model at all. |
| updating_workspaces | array of WorkspaceId | The workspaces the answer may be behind on, by the same rule search uses: named rather than waited for. Default |
| limitrequired | integer (uint, >= 0) | The page size actually applied, after the server's cap. |
| offsetrequired | integer (uint, >= 0) | The offset actually applied. |
{
"rows": [
{
"workspace": "00000000-0000-4000-8000-000000000000",
"document": "00000000-0000-4000-8000-000000000000",
"node": "string",
"node_kind": "string",
"excerpt": "string",
"document_title": "string",
"trashed": false,
"attributes": [
{
"id": "string",
"role": "string",
"kind": "string",
"value": "string",
"zone": "string",
"label": "string"
}
]
}
],
"definitions": [
{
"id": "string",
"key": "string",
"label": "string",
"value_type": "string",
"cardinality": "string",
"scope": "string",
"system": false,
"options": [],
"filterable": false,
"sortable": false,
"groupable": false
}
],
"tags": [
{
"id": "string",
"name": "string",
"color": "string",
"workspace": {}
}
],
"groups": [],
"projected": false,
"updating_workspaces": [],
"limit": 0,
"offset": 0
}The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.
Used by
Generated from contract version 1. Last updated .
