Skip to main content
POST
Add Table Field

Field Types Reference

Editable Fields

Read-Only Fields

These are computed or system-managed and cannot be set when creating or updating records.

Field Options

Type-specific configuration passed in the options object when creating or updating fields.

SELECT

sorting can be CUSTOM, ALPHA_ASC, or ALPHA_DESC.

NUMBER

largeNumberAbbreviation can be NONE, K, M, B, or T.

CURRENCY

  • showAs: SYMBOL or CODE
  • symbolOrCodePosition: BEFORE or AFTER

LINKED_RECORD

LOOKUP

ROLLUP

Available functions: SUM, MIN, MAX, COUNT, AVERAGE, ARRAYCOMPACT, ARRAYJOIN, ARRAYUNIQUE, ARRAYFLATTEN, CONCATENATE, COUNTALL, COUNTA, OR, AND.

ATTACHMENT

  • showAs: PREVIEW, LIST, or BADGE
  • inferredFileType: IMAGE, VIDEO, PDF, AUDIO, or OTHER
  • fileLinkExpirationUnit: HOURS or MINUTES

FORMULA

AI Options

Fields can include an aiOptions object that configures AI-powered auto-fill behavior. This is returned in field definitions and can be set when creating or updating fields.
Fields without AI configuration return "aiOptions": null.

Authorizations

Softr-Api-Key
string
header
required

Path Parameters

databaseId
string
required
tableId
string
required

Body

application/json
name
string
required
type
string
required
options
object

Response

The newly created field.

data
object