Installation
Quick Start
Chat Completions (OpenAI Compatible)
GetProfile’s primary feature is OpenAI-compatible chat completions with automatic user context injection. Just pass auser parameter and GetProfile handles the rest.
Non-Streaming
Streaming
Controlling Extraction and Injection
You can control what gets extracted and injected on a per-request basis:Supported Parameters
All standard OpenAI chat completion parameters are supported:model- Model to use (e.g., ‘gpt-5-mini’, ‘gpt-5’, ‘gpt-4-turbo’)messages- Array of chat messagesuser- User identifier for automatic profile context injectiontemperature,top_p,frequency_penalty,presence_penaltymax_tokens,stopstream- Enable streaming responsesgetprofile- GetProfile-specific options (skipInjection, skipExtraction, traits)
Models
List Available Models
Profiles
Get or Create Profile
POST /api/profiles, which is idempotent—if the profile already exists the current record is returned. Call it whenever a user signs in to guarantee they have a profile before you store traits or memories.
Get Profile with Details
List Profiles
Delete Profile
Export Profile Data
Ingest Data
Extract traits and memories from arbitrary text data:Traits
Get All Traits
Update Trait
Delete Trait
Memories
List Memories
Add Memory
Delete Memory
TypeScript Support
The SDK is fully typed. Import types as needed:Error Handling
Configuration Options
Using with Core Package
For more control, you can use the core package directly:Next Steps
API Reference
Complete API documentation
Trait Schemas
Configure what to extract