backlot
A local emulator for enterprise SaaS APIs — Slack, Gmail, Google Drive, GitHub, Jira, Notion, S3 and more — with the real response shapes, pagination, auth and
What is backlot?
A local emulator for enterprise SaaS APIs — Slack, Gmail, Google Drive, GitHub, Jira, Notion, S3 and more — with the real response shapes, pagination, auth and per-document ACLs, over a corpus you supply.
Overview of backlot
What it is
Backlot is a local emulator for enterprise SaaS APIs such as Slack, Gmail, Google Drive, GitHub, Jira, Notion, and S3. It reproduces the response shapes, pagination, authentication, errors, and per-document access controls that integrations must handle, using a deterministic corpus you control. It allows building and testing against official vendor SDKs without a vendor account, OAuth approval, secrets in CI, or network access.
Key features
- Serves multiple APIs from one local process, each behind its own path prefix, reading a single SQLite corpus.
- Emulates the documented subset of each supported API, with an endpoint-by-endpoint matrix indicating coverage.
- Derives stable ids, users, groups, and tokens from the corpus, ensuring consistent records, ACL-filtered views, and pagination across runs.
- Supports bringing your own corpus via a JSONL file, with validation and dry-run import.
- Provides a bundled corpus covering all supported services for immediate use.
- Offers MCP tools for coding agents, allowing instant setup without cloning or pip install.
Use cases
- Building or upgrading an integration, needing realistic API behavior without a vendor account.
- Testing integrations in CI with one fixture, no secrets, and no flaky tests.
- Evaluating RAG pipelines or agents with a deterministic corpus, including write operations for Slack.
- Reproducing bugs caused by specific document shapes in data you cannot access directly.
Getting started
bash pip install backlot backlot import --bundled # a corpus ships with the package; nothing to fetch or write backlot serve # every supported API, at http://127.0.0.1:8000 For a test with its own server: python import backlot from slack_sdk import WebClient with backlot.serve() as s: # no arguments: a tiny hello-world corpus slack = WebClient(token=s.token, base_url=f'{s.base_url}/slack/api/') channels = slack.conversations_list()['channels']
License and pricing
The license is Apache-2.0. The project is open source. Pricing is not stated; it is available as open source.
Based on the project's public README and repository metadata.