Skip to main content
POST
Chat Completions

Overview

The chat completions endpoint is fully compatible with OpenAI’s API. GetProfile automatically:
  1. Loads the user’s profile
  2. Injects relevant context into the system message
  3. Forwards the request to the upstream provider
  4. Extracts traits and memories in the background

Request

string
required
Model to use (e.g., gpt-5, gpt-5-mini)
array
required
Array of message objects
boolean
default:"false"
Enable streaming responses
string
User identifier (alternative to X-GetProfile-Id header)
object
GetProfile-specific options (stripped before forwarding)

Response

Standard OpenAI chat completion response.

Examples

Basic Request

Streaming

Per-Request Traits

Skip Processing