system_prompt on the query that starts the session, and it stays pinned for the rest of the session.
1
Start a session with a system prompt
Pass The response carries a
system_prompt alongside scope and ask on the opening query. These fields are set only when a session starts.curl
session_id and the query’s id.2
Continue the session
Reference the previous turn with
previous_query_id. Follow-up turns keep the system prompt, so you don’t resend it, and the context default still applies.curl