Get Tasks Endpoint
Changed onRequest
- Base URLhttps://api.raccoonai.tech
- AuthAPI key in header raccoon-secret-key
Query parameters
Filter tasks created after this Unix timestamp (in milliseconds).
Filter tasks created before this Unix timestamp (in milliseconds).
Filter tasks by a specific task ID.
Page number for pagination.
Number of tasks per page (maximum 100).
Filter tasks by execution type (e.g., 'default', 'deepsearch').
[ "default", "deepsearch" ]
Field to sort tasks by (e.g., 'timestamp', 'executionTime').
Sort order ('ascend' or 'descend').
Filter tasks by Raccoon passcode.
Response
Successful Response
Example response
{
"tasks": [
{
"executionTime": 15,
"executionType": "default",
"inputs": {
"param1": "value1",
"url": "https://example.com"
},
"output": [
{
"result1": "data1"
},
{
"result2": "data2"
}
],
"raccoonPasscode": "raccoon_secret_123",
"taskId": "task_abcdef123456",
"timestamp": 1678886400
}
],
"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 thetasks/items/executionTyperesponse property for the response status
5 more changes in this revision
- breaking