> ## Documentation Index
> Fetch the complete documentation index at: https://808-labs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Python SDK

> Use the existing server-side client and request builders.

Server-side SDK
Use typed request builders and bounded transports without hiding identity checks or retry behavior.

## Get the reviewed SDK

The reference Python SDK wraps the public REST API; OpenAPI remains canonical. It is not yet published to PyPI. Ask your Ignyt contact for the reviewed distribution and installation instructions; do not install an unrelated package with a similar name.

## Make a request

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
import os
from ignite_sdk import IgniteClient, api

with IgniteClient(
    base_url=os.environ["IGNITE_API_BASE_URL"],
    api_key=os.environ["IGNITE_API_KEY"],
    environment="sandbox",
) as ignite:
    page = ignite.send(api.products(limit=20))
    products = page.data["items"]
    request_id = page.request_id
```

`AsyncIgniteClient` supports `async with` and `await ignite.send(...)`. Responses retain additive JSON fields in `.data`. Server keys must stay on your server.

## Know what the client does

The first send performs a separate `/v1/me` identity/environment preflight. It counts as an API call. Mismatched Sandbox/Live identity is rejected before the requested operation.

The default transport uses bounded timeouts, response sizes and connection pools. It does not follow redirects, automatically retry writes or automatically paginate. Persist a write's intended body and idempotency key before sending.

## Verify events and delegate safely

Use the supplied webhook verifier for raw-body authentication, then implement your own durable inbox and idempotent business processing. Verification alone does not deduplicate events.

For shopper-delegated agent integrations, delegation credentials and trusted shopper approval are distinct from partner server keys. Arrange that integration separately; never expose a server key or shopper delegation in a model prompt.

## Related guides

> [card] [TypeScript SDK](https://808-labs.mintlify.site/typescript-sdk.md)
>
> Use the server-only Node.js client and generated contracts.

> [card] [Verify webhooks](https://808-labs.mintlify.site/webhooks.md)
>
> Authenticate raw event bytes before durable processing.

> [card] [Recover safely](https://808-labs.mintlify.site/errors-and-retries.md)
>
> Keep write identities stable and inspect uncertain outcomes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.