List form fields
Fields of the Add record form of a table, with type and whether each is required.
GET https://cotlet.dev/api/v1/quickbase/fields
read
Returns the fields the table's Add record form shows, in form order, with the field type and required marked as on the form (the asterisk). App builders decide which fields appear on the form, so a field that is not listed cannot be set with create_record. Read this before creating records so the agent fills every required field in the right format.
Parameters
| Name | Type | Description |
|---|---|---|
| app string required | string | App name as it appears under My apps, e.g. 'Field Ops'. |
| table string required | string | Table name as it appears in the app's sidebar, e.g. 'Work orders'. |
Request
curl "https://cotlet.dev/api/v1/quickbase/fields?app=Field+Ops&table=Work+orders" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("quickbase", "list_fields", {"app":"Field Ops","table":"Work orders"}) const result = await cotlet.call('quickbase', 'list_fields', {"app":"Field Ops","table":"Work orders"}); cotlet call quickbase list_fields --data '{"app":"Field Ops","table":"Work orders"}' Example response
{
"fields": [
{
"field": "Title",
"type": "text",
"required": true
},
{
"field": "Site",
"type": "list",
"required": true
},
{
"field": "Priority",
"type": "list",
"required": false
},
{
"field": "Due",
"type": "date",
"required": false
}
]
}