Python Client
Quickstart Guide
Call Agents from Python
Installation
To connect to your Kolena Agents using Python, install the restructured
client from
PyPI using any Python package manager such as pip
or poetry:
Initialization
An API Key is required to use the python client. Generate a key from your user profile within the web UI.
Copy the created key and store in a RESTRUCTURED_API_KEY
environment variable:
Usage
Here’s an example of how to use the client to add, download and delete agent runs:
Webhook
Kolena provides a helper function to handle signature verification and parsing. See Webhook Connection for more information.
Supported Python Versions
Python versions 3.8 and later are supported.