Python client
trigora-client is the HTTP client. Import it as trigora_client. It does not author Programs. Authoring stays in trigora.
A token selects Trigora Cloud (TRIGORA_API_BASE_URL or https://api.trigora.dev). Otherwise the client uses TRIGORA_RUNTIME_URL or http://127.0.0.1:3477.
from trigora_client import Client
client = Client(token=None)run = client.executions.start("approval", ["tcc"])run.send("approved", {"ok": True})print(run.result())start(program_id, input=None, *, url=None, token=None) is the same call without constructing Client. input is the ordered argument vector. Omitting it sends {}.
ExecutionHandle.send(name, payload=None) POSTs /v1/executions/{id}/events. cancel() POSTs cancel. result() polls until completed, then returns the result. failed and cancelled raise TrigoraError.
programs.list(), programs.get(program_id), and programs.versions(program_id) read Programs and their deployed versions. programs.list, programs.versions, and executions.list take limit and cursor.
HTTP errors surface status and code from the JSON body when the API sends them.
See Python client reference and Python SDK.