Skip to main content

Get Your API Key

  1. Log in to Bud AI Foundry
  2. Navigate to API Keys & Security
  3. Click + Create API Key
  4. Name it “Quickstart” and click Create
  5. Copy the key (starts with bud_)
Save your API key securely. It won’t be shown again after creation.

Python SDK

Install

Your First Request

Output:

Run a Pipeline

Gateway API (cURL)

Direct API Call

Response

Environment Setup

Environment Variables

Configuration File

Create ~/.budai/config.yaml:
The SDK automatically loads this configuration.

Check Available Models

Output:

Error Handling

Next Steps

Python SDK Guide

Deep dive into Python SDK features

Gateway API

REST API reference and examples

Authentication

Secure your API access

CLI Tools

Command-line interface guide