跳转到主要内容
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>"
}

授权

Authorization
string
header
必填

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

路径参数

tableId
string
必填
fieldId
string
必填

请求体

application/json
viewId
string

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

示例:

"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

响应

200 - application/json

Returns the task ID for the auto-fill process

taskId
string | null
Last modified on December 10, 2025