Skip to main content

Overview

The direct API approach lets you use Bloom’s proxy endpoints directly in your Python agent code. This gives you full control over the HTTP requests and responses.

Example Implementation

Error Handling

Always implement proper error handling:

Request Format

All proxy requests follow this structure:
Ensure your agent has the appropriate scopes configured for the services you’re trying to access.