Get Sessions Endpoint
Changed onRequest
- Base URLhttps://api.raccoonai.tech
- AuthAPI key in header raccoon-secret-key
Query parameters
Filter sessions created after this Unix timestamp (in milliseconds).
Filter sessions created before this Unix timestamp (in milliseconds).
Filter sessions by a specific session ID.
Filter sessions by a specific task ID.
Page number for pagination.
Number of sessions per page (maximum 100).
Filter sessions by execution type (e.g., 'default', 'deepsearch').
[ "default" ]
Field to sort sessions by (e.g., 'timestamp', 'executionTime').
Sort order ('ascend' or 'descend').
Filter sessions by Raccoon passcode.
Response
Successful Response
Example response
{
"sessions": [
{
"executionTime": 30,
"executionType": "deepsearch",
"inputs": {
"param2": "value2",
"url": "https://another-example.com"
},
"output": [
{
"extracted_data1": "value1"
},
{
"extracted_data2": "value2"
}
],
"raccoonPasscode": "raccoon_secret_456",
"sessionId": "session_xyz789012",
"status": "success",
"taskId": "task_abcdef123456",
"timestamp": 1678972800
}
],
"meta": {
"totalPages": 5,
"totalRecords": 50,
"currentPage": 1
}
}Changes
- breaking
removed the enum value
extractfrom the propertyanyOf[subschema #1]/items/of thequeryrequest parameterexecutionType[] - breaking
removed the enum value
runfrom the propertyanyOf[subschema #1]/items/of thequeryrequest parameterexecutionType[] - warning
added the new
deepsearchenum value to thesessions/items/executionTyperesponse property for the response status
5 more changes in this revision
- breaking