cURL
curl --request POST \
--url https://app.teable.ai/api/api/%7BbaseId%7D/ai/generate-stream \
--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 stream
Generate ai stream
POST
/
api
/
{baseId}
/
ai
/
generate-stream
cURL
curl --request POST \
--url https://app.teable.ai/api/api/%7BbaseId%7D/ai/generate-stream \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"prompt":"string","task":"coding","modelKey":"openai@gpt-4o@custom-name"}'{
"result": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Response
201 - application/json
Returns ai generate stream.
Last modified on March 5, 2026
Was this page helpful?
⌘I

