Pailot does not publish a public PyPI package for customers. Do not pip install a third-party client that looks similar — it is not the product you received.
To run workflows from Python, call the External API over HTTPS with your workspace API key (urllib, httpx, or requests).
Need a supported client library? Contact the vendor. Access and pricing are on request at pailot.ru.
Typical integration
- Create an API key in the contour (user settings).
- Call the REST endpoints documented under External API.
- Use your contour base URL (for example
https://pailot.yourdomain.com).
import os
import urllib.request
req = urllib.request.Request(
"https://pailot.yourdomain.com/api/v1/logs?workspaceId=YOUR_WORKSPACE_ID",
headers={"x-api-key": os.environ["PAILOT_API_KEY"]},
)
with urllib.request.urlopen(req) as response:
print(response.read().decode())