rootly-sdk) is an auto-generated client for the Rootly API. Every path and method becomes a typed Python module with both synchronous and asynchronous variants, powered by httpx.
Features
- Full API coverage — every endpoint becomes a Python module with typed parameters and responses
- Sync and async — each endpoint has blocking (
sync) and async (asyncio) variants - Type-safe models — generated data models for all request and response types
- Built on httpx — modern HTTP client with connection pooling, HTTP/2, and event hooks
Requirements
- Python 3.8+
Installation
Quick Start
Getting an API Key
- Log in to your Rootly account
- Navigate to Settings > API Keys
- Create a new API key with the permissions you need
Usage
Synchronous Requests
Async Requests
Endpoint Pattern
Every endpoint provides four functions:| Function | Description |
|---|---|
sync | Blocking request, returns parsed data or None |
sync_detailed | Blocking request, returns full Response with status code |
asyncio | Async version of sync |
asyncio_detailed | Async version of sync_detailed |
Using Models
Configuration
Custom Base URL
Custom SSL Certificate
Custom httpx Configuration
Feedback & Support
- Package: rootly-sdk on PyPI
- Source Code: GitHub Repository
- Issues: GitHub Issues