POST /api/database/fields/table/{table_id}/generate-ai-formula/

This endpoint generates a Baserow formula for the table related to the provided id, based on the human readable input provided in the request body. This is a premium feature.

Servers

Path parameters

Name Type Required Description
table_id Integer Yes

The table to generate the formula for.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
ai_temperature Number No

Between 0 and 2, adjusts response randomness—lower values yield focused answers, while higher values increase creativity.

ai_prompt String Yes

The human readable input used to generate the formula.

ai_model String Yes

The AI model that must be used when generating the formula.

ai_type String Yes

The AI model type that must be used when generating the formula.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.