Blaschke API documentation
Use an OpenAI-compatible SDK with your Blaschke account, API key, and chosen model.
Start here.
Make a first request, connect a coding agent, or read the exact API contract.
At a glance.
Use the public API endpoint with your Blaschke API key and an exact model ID.
| Setting | Value |
|---|---|
| Base URL | https://beta.blaschkelabs.com/v1 |
| Authentication | Authorization: Bearer $BLASCHKE_API_KEY |
| Model selection | Exact ID from GET /v1/models; export as BLASCHKE_MODEL |
| Compatibility | OpenAI Chat Completions, JSON and server-sent event streaming |
| Access | Account authentication and API-key authorization |
How Blaschke works.
Your client sends an OpenAI Chat Completions request. Blaschke authenticates and validates it, then routes it to the selected model.
Your agent still owns tool permissions and execution. Blaschke carries structured calls and results; it does not give a model direct access to your files or shell.
Endpoints.
The public API has two endpoints. Both require your API key.
| Method | Path | Purpose |
|---|---|---|
| POST | /v1/chat/completions | Return a completion as JSON or stream tokens and tool deltas. |
| GET | /v1/models | List registered model profiles, limits and supported parameters. |
Discovery does not trigger inference. Blaschke supports Chat Completions, not OpenAI Responses or Anthropic Messages; changing a base URL does not translate between protocols.