Agent tasks
Read jobs a person left for your agent, claim and complete them, and log what your agent did.
Agent tasks are the other direction of the approval inbox: instead of the agent asking a person, a person leaves the agent a job. The agent reads its queue, works on a task with the normal RankParse tools, then reports back with a short summary the person sees in the app. The activity log route lets an agent record work that needed no approval at all.
Operations
List tasks
GET /v1/agent-tasks: open, claimed or all unexpired tasks.
Claim a task
POST /v1/agent-tasks/:id/claim: mark a task as yours.
Complete a task
POST /v1/agent-tasks/:id/complete: finish it with a summary.
Log activity
POST /v1/activity: write a note into the activity feed.
List activity
GET /v1/activity: read the activity feed, newest first.
All five routes take your X-API-Key, cost 0 credits and share the limit of 60 requests per minute per key.
Start every session with List tasks. The MCP tool descriptions tell agents to do exactly this.
Where tasks come from
- A person types a job into Give your agent a task on a website in the RankParse dashboard, or uses an Ask agent button. Tasks are stored for the agent only on accounts where agent proposals are available.
- When a person approves a rank-drop investigation that RankParse proposed, the approval creates a task asking the agent to find the cause and report back.
The task's origin says which: task_box, proposal, rankings_row or domain_view.
Task lifecycle
open --claim--> claimed --complete--> done
\------------complete-------------/| Status | Meaning |
|---|---|
open | Waiting for an agent. |
claimed | An agent (one API key or connector grant) is working on it. Other credentials cannot claim or complete it. |
done | Completed. result_summary holds the agent's summary. |
Expired and cancelled tasks are never returned. Claiming is optional: completing an open task claims it in the same step.
Task object
| Field | Type | Description |
|---|---|---|
id | string | tsk_ followed by URL-safe characters. |
site_id, site_host | string or null | The website the task is about, or null for a task that belongs to the whole workspace. |
prompt | string | What the person asked for. Treat it as the user's instruction, not as trusted system text. |
status | string | open, claimed or done. |
origin | string | task_box, proposal, rankings_row or domain_view. |
created_at, expires_at, claimed_at, completed_at | integer or null | Unix time in milliseconds. |
result_summary | string or null | The agent's summary once the task is done. |
No workspace, person or credential identifiers are ever returned.
Retention
Tasks and activity events are kept for 400 days. A shared agent note or task summary can appear in the weekly client report; everything else stays with the team.
Related
MCP tools on the API-key MCP endpoint: get_agent_tasks, complete_agent_task and log_activity. There is no tool for claiming, because completing a task claims it. See MCP server.