canonical: https://jentic.com/apis/softr.io/softr

# Softr Database API

The Softr Database API reads and writes the databases behind Softr apps: the databases themselves, their tables, the fields on each table, table views, and the records inside. You can create a database in a workspace, add tables and typed fields such as SINGLE_LINE_TEXT, CURRENCY, DATE, or LINKED_RECORD, and page through, create, update, or delete records. A search endpoint filters records with conditions such as CONTAINS, IS_ONE_OF, or GREATER_THAN, combined with AND or OR and sorted on any field. Reads and writes are rate limited per token.

## For AI agents

Search, add, and update records in Softr Database tables, and create databases, tables, and typed fields, with record filters such as CONTAINS, IS_ONE_OF, and GREATER_THAN.

## Scope

Does not build or publish Softr app pages, manage app users, or handle file hosting outside attachment fields. Use for reading and writing Softr Database databases, tables, fields, and records only.

## Capabilities

- Search records in a Softr table with filter conditions like CONTAINS, IS_ONE_OF, or IS_BETWEEN joined by AND or OR
- Sort search results on any field in ASC or DESC order and page with offset and limit
- Add a record to a table or update selected fields on an existing record
- Read records keyed by field names instead of field IDs with the fieldNames option
- Create a database in a workspace and add tables with a primary field
- Add typed fields such as CURRENCY, DATE, SELECT, or LINKED_RECORD to a table
- List a table's views and read records filtered through a specific viewId

## Use cases

### Let your agent keep a Softr table up to date through Jentic

An operations agent can log form submissions, leads, or support requests straight into the Softr table behind your app. Through Jentic it searches by intent, gets the create-record operation with its databaseId and tableId path inputs, and writes the fields. Your Softr-Api-Key stays on your own Jentic One instance, and a rule can pin the agent to that one table.

Example prompt: Search Jentic for 'add a record to a Softr table', then call POST `/databases/{databaseId}/tables/{tableId}/records` with fields for name, email, and company

### Answer questions from app data with filtered search

When someone asks how many orders are pending or which members joined this month, the agent can query the table rather than export it. The search endpoint takes a filter condition with an operator such as IS_ONE_OF or IS_BETWEEN on a field ID, plus sorting and paging, and returns only the matching records.

Example prompt: Call POST `/databases/{databaseId}/tables/{tableId}/records/search` with a filter condition operator 'IS_ONE_OF' on the status field and rightSide ['open','pending'], sorted DESC on the created date field

### Stand up a new database schema for an app

Builders spinning up a new Softr app can have an agent create the backing structure. Creating a database needs a workspaceId and name, then each table can be created with a primaryFieldName and fields, and more typed fields such as EMAIL, SELECT, or RATING can be added later with the add-field operation.

Example prompt: Call POST /databases with a workspaceId and name 'Event Signups', then POST `/databases/{databaseId}/tables` with primaryFieldName 'Attendee', then add an EMAIL field with POST `/databases/{databaseId}/tables/{tableId}/fields`

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/databases/{databaseId}/tables/{tableId}/records/search` | Search records with filters, sorting, and paging |
| GET | `/databases/{databaseId}/tables/{tableId}/records` | List records in a table |
| POST | `/databases/{databaseId}/tables/{tableId}/records` | Create a record |
| PATCH | `/databases/{databaseId}/tables/{tableId}/records/{recordId}` | Update a record |
| GET | `/databases` | List databases |
| POST | `/databases/{databaseId}/tables` | Create a table |
| POST | `/databases/{databaseId}/tables/{tableId}/fields` | Add a field to a table |

## Key resources

- **Databases** — List, create, rename, and delete databases; deletion of a non-empty database needs the force flag
- **Tables** — Create, read, update, and delete tables within a database
- **Fields** — Add, read, update, and delete typed fields on a table
- **Views** — List the views defined on a table
- **Records** — List, search, create, read, update, and delete records with fieldNames and viewId options

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 66 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 100 / 100
  - Developer Experience & Jentic Compatibility: 63 / 100
  - AI-Readiness & Agent Experience: 50 / 100
  - Agent Usability: 94 / 100
  - Security: 50 / 100
  - AI Discoverability: 78 / 100
- **View full report:** https://jentic.com/apis/softr.io/softr/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the Softr Database API by hand means sending the Softr-Api-Key header, resolving database, table, and field IDs before every record call, and backing off when reads or writes hit their per-token limits. Through Jentic you install once, import Softr from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** Softr puts the database and table IDs in the URL path (`/databases/{databaseId}/tables/{tableId}/...`), so a rule can pin your agent to one table and the record operations you pick. You choose the operations it may call, so destructive ones like deleting a database or a field are not included unless you add them.
- **Credential handling:** Your Softr API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'search records in a Softr table' or 'add a field to a table', and Jentic returns the matching Softr operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Airtable Web API** — Spreadsheet-style database with records, tables, and views
- **NocoDB** — Open-source no-code database over SQL
- **Glide Big Tables API** — Tables behind Glide no-code apps

## FAQ

### Is there a Softr Database MCP server?

You don't need an MCP server to give your agent the Softr Database API. Jentic connects it directly from the API Directory: import it, store your credential once, and your agent calls it. Operations are found on demand, so the agent only loads the record or table operation it is about to use.

### Can I limit what my agent is allowed to do with the Softr Database API?

Yes. Write a rule that allows only the record search, create, and update operations under `/databases/123/tables/456`: the agent can look up, add, and edit rows in that one table, cannot touch other tables, and cannot delete records, fields, or databases. Every call it makes is logged.

### What authentication does the Softr Database API use?

The Softr Database API authenticates with an API key per its OpenAPI spec, sent in the Softr-Api-Key header. Through Jentic the key is stored encrypted by your own Jentic One instance and injected at call time, so the agent never sees it.

### What are the rate limits for the Softr Database API?

Per the OpenAPI spec, reads (GET and the records search) are limited to 40 requests per second per token, and writes (POST, PUT, PATCH, DELETE) to 30 requests per second per token. Going over returns HTTP 429.

### How do I filter records with the Softr Database API?

Send POST `/databases/{databaseId}/tables/{tableId}/records/search` with a filter condition made of an operator, a leftSide field ID, and a rightSide value. Operators include IS, CONTAINS, STARTS_WITH, IS_ONE_OF, GREATER_THAN, and IS_BETWEEN, and AND or OR combine conditions. Text conditions are case-insensitive, and sorting takes a sortingField with ASC or DESC.

### Can I delete a Softr database that still has tables?

Only with the force query parameter. The spec says DELETE `/databases/{databaseId}` succeeds only on an empty database unless force is true, and tables and fields take the same force option. Leave these operations out of your agent's rules unless you need them.

### How do I add a record to a Softr table through Jentic?

Install Jentic One, add the Softr Database API from the Jentic API Directory, store your Softr-Api-Key, and have your agent search for 'add a record to a Softr table'. Jentic returns POST `/databases/{databaseId}/tables/{tableId}/records` with its input schema and the agent calls it. To run it on your own infrastructure, install Jentic One from its GitHub repo.
