cURL
curl --request POST \
--url https://app.teable.ai/api/api/%7BbaseId%7D/ai/generate \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"prompt":"string","task":"coding","modelKey":"openai@gpt-4o@custom-name"}'{
"result": "<string>"
}ai
Post api aigenerate
Generate AI text (non-streaming)
POST
/
api
/
{baseId}
/
ai
/
generate
cURL
curl --request POST \
--url https://app.teable.ai/api/api/%7BbaseId%7D/ai/generate \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"prompt":"string","task":"coding","modelKey":"openai@gpt-4o@custom-name"}'{
"result": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://help.teable.ai/llms.txt
Use this file to discover all available pages before exploring further.
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
路径参数
请求体
application/json
响应
201 - application/json
Returns generated AI text.
Last modified on March 5, 2026
此页面对您有帮助吗?
⌘I

