List Sessions

Beta

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

namestringOptional
This is the name of the session to filter by.
assistantIdstringOptional
This is the ID of the assistant to filter sessions by.
workflowIdstringOptional
This is the ID of the workflow to filter sessions by.
pagedoubleOptional>=1
This is the page number to return. Defaults to 1.
sortOrderenumOptional
This is the sort order for pagination. Defaults to 'DESC'.
Allowed values:
limitdoubleOptional>=0<=1000
This is the maximum number of items to return. Defaults to 100.
createdAtGtstringOptionalformat: "date-time"
This will return items where the createdAt is greater than the specified value.
createdAtLtstringOptionalformat: "date-time"
This will return items where the createdAt is less than the specified value.
createdAtGestringOptionalformat: "date-time"
This will return items where the createdAt is greater than or equal to the specified value.
createdAtLestringOptionalformat: "date-time"
This will return items where the createdAt is less than or equal to the specified value.
updatedAtGtstringOptionalformat: "date-time"
This will return items where the updatedAt is greater than the specified value.
updatedAtLtstringOptionalformat: "date-time"
This will return items where the updatedAt is less than the specified value.
updatedAtGestringOptionalformat: "date-time"
This will return items where the updatedAt is greater than or equal to the specified value.
updatedAtLestringOptionalformat: "date-time"
This will return items where the updatedAt is less than or equal to the specified value.

Response

resultslist of objects
metadataobject