---
title: "Get a field (Database API)"
description: ""
canonical: "https://docs.softr.io/api/fields/get-field"
updated: "2026-12-04"
---

# Get a field (Database API)



```http
GET https://tables-api.softr.io/api/v1/databases/{databaseId}/tables/{tableId}/fields/{fieldId}
```

## Authorizations

- `Softr-Api-Key` (API key, in header, required)

## Path parameters

- `databaseId` (`string`, required)
- `tableId` (`string`, required)
- `fieldId` (`string`, required)

## Response

**200**: Field details.

- `data` (`object`)
- `data.id` (`string`)
- `data.name` (`string`)
- `data.description` (`string | null`): Optional description of the field.
- `data.type` (`enum<string>`, one of: `SINGLE_LINE_TEXT, CHECKBOX, CURRENCY, DATE, DATETIME, DURATION, EMAIL, SELECT, NUMBER, ATTACHMENT, RATING, LINKED_RECORD, LONG_TEXT, URL, PERCENT, PHONE, LOOKUP, ROLLUP, FORMULA, CREATED_AT, UPDATED_AT, CREATED_BY, UPDATED_BY, AUTONUMBER, RECORD_ID, USER`): The type of the field.
- `data.options` (`Record<string, unknown>`): Configuration options for the field, specific to its type. See the official documentation for the structure of each type.
- `data.allowMultipleEntries` (`boolean`)
- `data.readonly` (`boolean`)
- `data.required` (`boolean`)
- `data.locked` (`boolean`)
- `data.defaultValue` (`string | null`)
- `data.aiOptions` (`object | null`): AI-powered auto-fill configuration. Null if not configured.
- `data.aiOptions.aiFillable` (`boolean`)
- `data.aiOptions.aiOnly` (`boolean`)
- `data.aiOptions.allowWebSearch` (`boolean`)
- `data.aiOptions.aiModel` (`string`)
- `data.aiOptions.prompt` (`string`)
- `data.aiOptions.canBeTriggeredManually` (`boolean`)
- `data.aiOptions.runWhenRecordIsCreated` (`boolean`)
- `data.aiOptions.runWhenRecordIsUpdated` (`boolean`)
- `data.createdAt` (`string<date-time>`)
- `data.updatedAt` (`string<date-time>`)

```json
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "type": "SINGLE_LINE_TEXT",
    "options": {},
    "allowMultipleEntries": true,
    "readonly": true,
    "required": true,
    "locked": true,
    "defaultValue": "<string>",
    "aiOptions": {
      "aiFillable": true,
      "aiOnly": true,
      "allowWebSearch": true,
      "aiModel": "<string>",
      "prompt": "<string>",
      "canBeTriggeredManually": true,
      "runWhenRecordIsCreated": true,
      "runWhenRecordIsUpdated": true
    },
    "createdAt": "2024-01-01T00:00:00Z",
    "updatedAt": "2024-01-01T00:00:00Z"
  }
}
```

**429**: Rate limit exceeded.

No response body.

**Example request**

```bash
curl --request GET \
  --url 'https://tables-api.softr.io/api/v1/databases/<databaseId>/tables/<tableId>/fields/<fieldId>' \
  --header 'Softr-Api-Key: <api-key>'
```
