API Reference
pinstripes is OpenAI-compatible. Point your client at https://api.pinstripes.io/v1 and it works — no code changes needed if you are already using the OpenAI SDK or any library that accepts a custom base URL. This reference also covers the account management and billing endpoints that have no OpenAI equivalent.
Base URL
https://api.pinstripes.io/v1
Authentication
| Token type | Format | Use for |
|---|---|---|
| API key | sk-ps-... | Inference (/v1/chat/completions, /v1/models, /v1/usage) |
| Session token | Bearer <jwt> | Account management (/auth/*, /billing/*) |
See the quickstart to make your first request.