Skip to main content
POST
Python (SDK)

Authorizations

tql_api_key
string
header
required

Headers

Connect-Protocol-Version
enum<number>
default:1
required

Define the version of the Connect protocol

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json
appId
string
functionName
string
paramsJson
string

Response

Success

ComputeFunction is a declared server-side function invocable from the app via the bridge. Exactly one of code (python, runs on the app's worker), sql (plain SQL on the app's private DB), tql (inline TQL source), or tql_path (a Context Library .tql) must be set. TQL variants are real TQL (compiled at save time) executed against a connector; sql is the app-state path (:name params bound server-side, reserved :_now / :_uuid).

resultJson
string