cURL
curl --request GET \ --url https://api.squiggle.ai/api/list-sessions \ --header 'Authorization: Bearer <token>'
{ "sessions": [ { "id": "<string>", "createdAt": "2023-11-07T05:31:56Z" } ] }
Lists all sessions associated with the provided OpenAI API key.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
List of sessions retrieved successfully
The response is of type object.
object