Developer workspace / Integrations
Your next integration.
Choose a model, tailor a request, and take working code into your application.
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
- Install the dependency:
python -m pip install httpx - Set POWERCHAMPION_API_KEY as an environment variable on your server.
- 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 URL
https://b300.powerchampion.ai/v1Model ID
bge-reranker-v2-m301 / 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 status03 / SCALE
A dedicated deployment?
Plan GPU capacity, model hosting, and deployment requirements with the team.
Explore infrastructure