Skip to Content
Model API ReferenceOpenAIOverview

OpenAI-compatible API

Use https://api.fenno.ai/v1 as the OpenAI SDK base URL and pass your Fenno key explicitly. Raw HTTP paths below already contain /v1; do not append it twice.

MethodFull pathReference
POST/v1/chat/completionsChat Completions
POST/v1/responsesResponses
POST/v1/embeddingsEmbeddings
POST/v1/images/generationsImages
POST/v1/images/editsImages
GET/v1/modelsModel discovery
GET/v1/models/{model}Model discovery

Authentication

Authorization: Bearer <FENNO_API_KEY> Content-Type: application/json

Image uploads use multipart form data instead of JSON.

Choose the conversation API

Chat Completions accepts messages and returns choices. Responses accepts input and returns typed output items. Their tool definitions, output limits, JSON-schema fields and streaming events are not interchangeable.

Protocol compatibility does not imply support for every official OpenAI service or model option. Do not assume hosted tools, persistent response retrieval, background jobs or file APIs are available because an SDK exposes those methods.

See OpenAI SDK setup, structured output, and official API documentation .