Skip to main content
The Rootly Python SDK is an auto-generated client for the Rootly API, published on PyPI as rootly and imported in Python as rootly_sdk. 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

  1. Log in to your Rootly account
  2. Navigate to Settings > API Keys
  3. Create a new API key with the permissions you need

Usage

Synchronous Requests

Async Requests

Endpoint Pattern

Every endpoint provides four functions: All path parameters, query parameters, and request bodies become function arguments.

Using Models

Configuration

Custom Base URL

Custom SSL Certificate

Custom httpx Configuration

You can also access the underlying httpx client directly:

Feedback & Support