Skip to main content
@jedify/sdk calls semantic functions from a running app. Your agent generates this code; this page is the reference for it.
Match returned column names exactly. They follow the function’s query — often uppercase (TOTAL_REVENUE) but not always — and a numeric value can arrive as text, so coerce numbers where you do math.

Configuration

new Jedify(config): Get an API key from app.jedify.com/settings/api-keys. baseUrl defaults to production.

Methods

listFunctions(filters?)

getSchema(functionName)

Returns a function’s parameters, output columns, and example usage.

call(functionName, parameters?, options?)

Runs a function, returns the rows, and throws on error.
Options: fetchAll (auto-page), page / limit (manual paging), timeout, signal (cancel).

Errors

call() throws typed errors:

TypeScript