Pailot does not publish a public npm package for customers. Do not install a third-party client that looks similar — it is not the product you received.
To run workflows from a TypeScript or JavaScript application, call the External API over HTTPS with your workspace API key.
Need a supported client library or a typed wrapper for your contour? 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 — logs, webhooks, and workflow execution.
- Point
baseUrlat your contour host (for examplehttps://pailot.yourdomain.com), not at a public SaaS.
curl -H "x-api-key: YOUR_API_KEY" \
https://pailot.yourdomain.com/api/v1/logs?workspaceId=YOUR_WORKSPACE_ID