For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
GuidesAPI Reference
GuidesAPI Reference
  • Overview
    • API reference
  • Search
    • POSTSearch
    • GETSearch Run List
    • GETSearch Run Get
    • GETSearch Run Events
    • POSTSearch Run Cancel
  • Extract
    • GETExtract a URL
    • POSTExtract
  • Monitors
    • GETList monitors
    • POSTCreate monitor
    • GETRetrieve monitor
    • DELDelete monitor
    • PATCHUpdate monitor
    • GETList monitor events
    • POSTMonitor Pause
    • POSTMonitor Resume
    • POSTRun monitor
  • Tasks
    • POSTTask
    • POSTCreate task run
    • GETRetrieve task run
    • GETStream task run events
    • GETTask List
    • GETTask Get
    • GETTask Events
    • POSTTask Cancel
  • Chat
    • POSTChat completion
  • Find All
    • POSTFindAll
    • GETFindall Run List
    • POSTCreate FindAll run
    • GETRetrieve FindAll run
    • GETStream FindAll run events
    • POSTCancel FindAll run
    • POSTExtend FindAll run
    • POSTEnrich FindAll run
LogoLogo
Tasks

Task List

||View as Markdown|
GET
https://core.usescout.sh/v1/tasks
GET
/v1/tasks
$curl -G https://core.usescout.sh/v1/tasks \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json" \
> -d limit=10 \
> -d offset=0
1{
2 "tasks": [
3 {
4 "id": "a1b2c3d4-e5f6-7890-ab12-cd34ef567890",
5 "status": "completed",
6 "createdAt": "2024-06-10T15:22:30Z",
7 "completedAt": "2024-06-10T15:25:45Z",
8 "query": "Latest market trends in renewable energy",
9 "resultCount": 42,
10 "success": true
11 },
12 {
13 "id": "b2c3d4e5-f678-9012-ab34-cd56ef789012",
14 "status": "running",
15 "createdAt": "2024-06-10T14:50:10Z",
16 "query": "AI advancements in natural language processing",
17 "resultCount": 15,
18 "success": false
19 }
20 ],
21 "total": 125,
22 "limit": 10,
23 "offset": 0
24}
Paginated list of task runs, newest first.
Was this page helpful?
Previous

Stream task run events

Next

Task Get

Built with

Authentication

AuthorizationBearer
Your API key, sent as a Bearer token.

Query parameters

limitintegerOptionalDefaults to 5
offsetintegerOptionalDefaults to 0

Response

Successful Response

Errors

422
Unprocessable Entity Error