PlatformIntegrations

Developer workspace / Integrations

Your next integration.

Choose a model, tailor a request, and take working code into your application.

API documentation
02

Connect

example.pyPython · server
import os
import httpx

response = httpx.post(
    "https://b300.powerchampion.ai/v1/rerank",
    headers={"Authorization": f"Bearer {os.environ['POWERCHAMPION_API_KEY']}"},
    json={"model": "bge-reranker-v2-m3", "query": "Explain how a language model works in three sentences.", "documents": ["A language model learns patterns in text.", "A graphics processor handles parallel computation.", "Embeddings represent information as vectors."]},
    timeout=60.0,
)
response.raise_for_status()
print(response.json()["results"])

Before you run

  1. Install the dependency: python -m pip install httpx
  2. Set POWERCHAMPION_API_KEY as an environment variable on your server.
  3. Review the inputs, save the example, and run it in your own environment.

Keep API keys on your server; do not embed them in browser code or public repositories.

Base URLhttps://b300.powerchampion.ai/v1
Model IDbge-reranker-v2-m3

01 / ACCESS

Need an API key?

Request access from the team and fund your prepaid balance.

02 / TROUBLESHOOT

Request not working?

401: check your key. 402: check credit. 429: respect Retry-After. 503: check availability and retry later.

Service status
03 / SCALE

A dedicated deployment?

Plan GPU capacity, model hosting, and deployment requirements with the team.

Explore infrastructure