Sessions

Tracking Sessions

You can add session tracking to your app by adding the x-props-session-id header to your request.

Add Header

from openai import OpenAI;
import json
 
client = OpenAI(
    baseUrl = "https://proxy.getprops.ai/"
    defaultHeaders = {
        "x-api-key": "<PROPS_API_KEY>",
        # ADD THIS HEADER
        "x-props-session-id": "session_1234"
    }
)