Crée une nouvelle session d’agent. Fournissez ‘external_user_id’ pour isoler cette session pour un utilisateur final spécifique. Si ‘assistant_id’ et ‘initial_system_prompt’ sont tous deux fournis, ‘initial_system_prompt’ remplacera le prompt système par défaut de l’assistant.
Optional title for the session.
"Q3 Analysis"
ID of an assistant to base the session on.
Model to use (overrides assistant default).
"gpt-4o"
System prompt to initialize the session with.
List of tool IDs to enable for this session.
A unique identifier for your end-user. If provided, access to this session will be restricted to requests providing the 'X-End-User-ID' header with this value.
Successful Response
Unique identifier for the session.
Current status (e.g., 'active', 'completed').
Creation timestamp.
Last update timestamp.
Title of the session.
Model being used.
The external user ID associated with this session, if any.
List of tools enabled for this session.
List of documents linked to this session.