Skip to main content
BoardPulse AI exposes an OpenAI-compatible API surface at /openai/v1/. This lets you point any client that speaks the OpenAI ChatCompletion format — such as Open WebUI, LiteLLM, or your own tooling — directly at BoardPulse AI without any custom integration code. All endpoints under /openai/v1/ require a Bearer token. See Authentication for how to configure and pass the token.

Base path


GET /openai/v1/models

Lists the AI models available through the OpenAI-compatible endpoint.

Authentication

Requires Authorization: Bearer <BOARDPULSE_OPENAI_COMPAT_KEY>.

Response

Returns an object in the standard OpenAI model list format.
string
Always "list".
object[]
List of available model cards.

Example


POST /openai/v1/chat/completions

Accepts a request in the standard OpenAI ChatCompletion format. BoardPulse AI extracts the last user message, runs it through the chat graph, and returns a formatted markdown response that includes the executive summary, a data table (if applicable), chart image (if available), export download links, and a collapsible SQL details section.

Authentication

Requires Authorization: Bearer <BOARDPULSE_OPENAI_COMPAT_KEY>.

Request body

string
default:"boardpulse-executive"
The model to use. Pass "boardpulse-executive" or any string — the value is forwarded to the underlying chat graph.
object[]
required
The conversation messages in OpenAI format.
boolean
default:"false"
Streaming is accepted in the request schema but not implemented. All responses are returned as a single completion.

Response

The response follows the standard OpenAI ChatCompletion response format.
string
A unique identifier for the completion, prefixed with chatcmpl-boardpulse-.
string
Always "chat.completion".
integer
Unix timestamp of when the completion was created.
string
The model identifier echoed from the request.
object[]
The completion choices. BoardPulse AI always returns exactly one choice.
object
Token usage counts. BoardPulse AI returns zeros for all fields since token counting is not implemented at this layer.

Example

Connecting Open WebUI

To connect Open WebUI to BoardPulse AI:
  1. In Open WebUI, go to Settings → Connections → OpenAI API.
  2. Set the API base URL to http://localhost:8000/openai/v1.
  3. Set the API key to the value of your BOARDPULSE_OPENAI_COMPAT_KEY environment variable.
  4. Select the boardpulse-executive model and start chatting.
Open WebUI passes the authenticated user’s name and email via X-OpenWebUI-User-Name and X-OpenWebUI-User-Email headers, which BoardPulse AI includes in the technical details section of each response.