All integrations
Get an API key
OpenAI
Chat, embeddings, images, audio and assistants from OpenAI.
AI and models
How an agent reaches it
MCPREST APICLI
How you authenticate
API key
Connection details
- Base URL
- https://api.openai.com/v1
- Pagination
- cursor
Common endpoints
| list models | GET /models |
| chat completion | POST /chat/completions |
| embeddings | POST /embeddings |
| generate an image | POST /images/generations |
| transcribe audio | POST /audio/transcriptions |
Worth knowing
- Organisation-scoped keys need the OpenAI-Organization header.
- Streaming responses are SSE. The generic HTTP lane reads them to completion rather than proxying the stream.
- Project keys (sk-proj-) and user keys behave differently for billing attribution.