curl -X GET "https://your-collabase.ch/api/v1/search/fields?entity=task" \
-H "Authorization: Bearer cb_xYz123ABCD..."
{
"data": {
"fields": [
{
"key": "dueDate",
"origin": "system",
"label": null,
"valueType": "date",
"operators": ["eq", "gt", "gte", "lt", "lte", "is_empty", "is_not_empty"],
"sortable": true,
"columnable": true,
"groupable": true,
"summable": false,
"options": null
}
]
}
}
List fields
Read the fields the token owner can use in a query, as columns or for sorting on one kind of object, custom fields included.
GET
/
api
/
v1
/
search
/
fields
curl -X GET "https://your-collabase.ch/api/v1/search/fields?entity=task" \
-H "Authorization: Bearer cb_xYz123ABCD..."
{
"data": {
"fields": [
{
"key": "dueDate",
"origin": "system",
"label": null,
"valueType": "date",
"operators": ["eq", "gt", "gte", "lt", "lte", "is_empty", "is_not_empty"],
"sortable": true,
"columnable": true,
"groupable": true,
"summable": false,
"options": null
}
]
}
}
Returns the fields of a kind of object that the token owner may use, system and custom, with the operators each one takes.
Scope
search:read and the scope of the kind of object. See the overview.Query parameters
The kind of object, as for Search.
Response
Each field has
key (the name in a query, cf.<key> for a custom field), origin (system or custom), label (the display name of a custom field), valueType, operators, sortable, columnable, groupable, summable and, for a field with fixed values, options.curl -X GET "https://your-collabase.ch/api/v1/search/fields?entity=task" \
-H "Authorization: Bearer cb_xYz123ABCD..."
{
"data": {
"fields": [
{
"key": "dueDate",
"origin": "system",
"label": null,
"valueType": "date",
"operators": ["eq", "gt", "gte", "lt", "lte", "is_empty", "is_not_empty"],
"sortable": true,
"columnable": true,
"groupable": true,
"summable": false,
"options": null
}
]
}
}
Errors
| Status | Code | Meaning |
|---|---|---|
| 401 | UNAUTHENTICATED | No valid token |
| 403 | INSUFFICIENT_SCOPE | The token lacks search:read or the scope of the kind |
| 422 | VALIDATION_ERROR, UNKNOWN_ENTITY | The kind is missing or unknown |
Last modified on October 17, 2026