Add a field
Add a field.
POST/v1/apps/{appId}/tables/{tableId}/fields
Omit id; the platform returns an opaque fld_…. config is type-specific; keys for another type fail validation. Read fields.types for config shapes. Computed fields (lookup, rollup, formula, button) have no column and are derived at read time. A link creates its mirror on the other table in the same write; both are deleted together.
Requires the schema:write scope. Operation fields.create. MCP tool fields_create. CLI: grid82 fields create (npx grid82).
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
appId | string | yes | |
tableId | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Idempotency-Key | string | no | Any unique string. Sending the same key with the same request again returns the first response (marked Idempotency-Replayed: true) instead of running it twice. Reusing it for a different request is refused with 409. Kept for 24 hours. Up to 255 characters. |
Request body
A object.
Response
Success
dataobjectrequiredRefused
errorobjectrequired