Your API key carries many privileges, so be sure to keep it secure. Do not share your API key in publicly accessible areas such as GitHub, client-side code, or in your applications.
Our official SDKs handle authentication for you when provided with an API key:
Copy
Ask AI
# Python SDK Examplefrom meibelai import Meibelaiimport os# Initialize the SDK with your API keyclient = Meibelai( api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER"))# Make API callsdatasources = client.datasources.list()
Copy
Ask AI
// Node.js SDK Exampleimport { Meibelai } from 'meibelai';// Initialize the SDK with your API keyconst client = new Meibelai({ apiKeyHeader: process.env.MEIBELAI_API_KEY_HEADER});// Make API callsconst datasources = await client.datasources.list();