Skip to main content
POST
/
table
/
{tableId}
/
field
/
{fieldId}
/
auto-fill
Auto-fill a field by AI
curl --request POST \
  --url http://127.0.0.1:3000/api/table/{tableId}/field/{fieldId}/auto-fill \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "viewId": "viwXXXXXXX",
  "filter": "<string>",
  "orderBy": "<string>",
  "groupBy": "<string>",
  "ignoreViewQuery": "<string>"
}
'
{
  "taskId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tableId
string
required
fieldId
string
required

Body

application/json
viewId
string

Set the view you want to fetch, default is first view. result will filter and sort by view options.

Example:

"viwXXXXXXX"

filter
string

A filter object for complex query conditions based on fields, operators, and values. Use our visual query builder at https://app.teable.ai/developer/tool/query-builder to build filters.

orderBy
string

An array of sort objects that specifies how the records should be ordered.

groupBy
string

An array of group objects that specifies how the records should be grouped.

ignoreViewQuery

When a viewId is specified, configure this to true will ignore the view's filter, sort, etc

Response

200 - application/json

Returns the task ID for the auto-fill process

taskId
string | null
Last modified on December 10, 2025