Create Session
Authentication
Retrieve your API Key from Dashboard.
Request
This is a user-defined name for the session. Maximum length is 40 characters.
Session expiration time in seconds. Defaults to 24 hours (86400 seconds) if not set.
These are the overrides for the assistant configuration. Use this to provide variable values and other overrides when using assistantId. Variable substitution will be applied to the assistant’s messages and other text-based fields.
Response
This is a user-defined name for the session. Maximum length is 40 characters.
Session expiration time in seconds. Defaults to 24 hours (86400 seconds) if not set.
These are the overrides for the assistant configuration. Use this to provide variable values and other overrides when using assistantId. Variable substitution will be applied to the assistant’s messages and other text-based fields.
These are the artifacts that were extracted from the session messages. They are only available after the session has completed. The artifact plan from the assistant or active assistant of squad is used to generate the artifact. Currently the only supported fields of assistant artifact plan are:
- structuredOutputIds