POST
/
table
/
{tableId}
/
field
/
{fieldId}
/
auto-fill
curl --request POST \
  --url https://app.teable.cn/api/table/%7BtableId%7D/field/%7BfieldId%7D/auto-fill \
  --header 'Authorization: Bearer REPLACE_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 used to filter results. It allows complex query conditions based on fields, operators, and values.

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