Black Friday in 1 day: will your customers be able to pay? 25% off the first year and free setup, until 30 NovemberSee the offer →
Integration
pip install pathly — typed stdlib client for Lambda, Cloud Run and cron.
Get my API keyOpenAPI contract
Full document, no authentication, ready for your client generator.
PyPI package pathly (pip install pathly). Stdlib-based typed client, 100% test coverage. Fits Lambda, Cloud Run, ops cron and notebooks.
Auth: PATHLY_API_TOKEN. Writes accept an idempotency key on the client when the API allows it. Never commit the token in a shared notebook.
create_scenario
pip install pathly
export PATHLY_API_TOKEN=sp_…
from pathly import Client, ScenarioInput
client = Client()
scenario = client.create_scenario(
ScenarioInput(
name="Checkout",
url="https://www.example.com/cart",
intervalSec=300,
expectText="Your cart",
)
)
print(scenario.id)paginated list
for row in client.list_scenarios():
print(row.id, row.name)