Agent run activities overview
An activity is one message inside an agent run. People send the agent prompt activities, and the agent answers with thought, action, response, elicitation, and error activities. Each activity the agent posts moves the run's status, as described in Run statuses.
Activities are an append-only log. You can list, create, and read them, but not edit or delete them. Within a run they're listed oldest first.
The content and signal shapes match the ones in Signals and content payload, which shows how an agent should use each type.
Learn more about agent sessions
The agent run activity object
Attributes
idstring (uuid)Unique identifier for the activity.
agent_run_idstring (uuid)The run the activity belongs to.
typestringWhat the activity is:
prompt: a message from a person to the agent. A mention, a reply in the run's thread, a prompt posted through the API, and a stop request are all prompts.thought: the agent's reasoning. Always ephemeral.action: a tool call the agent makes. Always ephemeral.response: the agent's answer. Plane posts it as a reply in the run's thread.elicitation: a question from the agent. Plane posts it in the thread and the run waits asawaiting.error: the agent reporting a failure. Always ephemeral. The run moves tofailed.
contentobjectWhat the activity says. Most types carry
{"type": "<type>", "body": "<text or HTML>"}. Anactioncarries{"type": "action", "action": "<name>", "parameters": {...}}, with string values inparameters. A person's prompt can addattachment_ids, a list of strings. A prompt Plane creates from a thread reply has the reply's HTML as itsbody. A stop request has{"type": "text", "body": "Stopping"}.content_metadataobjectData the poster attached to the activity. Plane stores it and returns it unchanged, so an agent can tag its activities, for example with its own idempotency key, and find them again.
ephemeralbooleanWhether the activity is temporary. Plane doesn't post an ephemeral activity to the work item thread, and Plane hides it once a non-ephemeral activity follows.
thought,action, anderroractivities are always ephemeral.signalstringHow to interpret the activity. Defaults to
continue. The other values arestop,auth_request,select, andupgrade. A person's stop request is apromptwithsignal: stop. Plane setsupgradeon a run that the workspace's plan refused.signal_metadataobjectDetails for the signal. An
auth_requestcarries theurlto open. On anerroractivity, Plane copies this object into the run'serror_metadata.actor_idstring (uuid) or nullWho posted the activity: the agent's bot user or a person.
comment_idstring (uuid) or nullThe comment in the run's thread that matches the activity. For a person's prompt, it's the mention, the reply, or the mirrored comment. For an agent's non-ephemeral activity, it's the reply Plane posted.
nullfor ephemeral activities.project_idstring (uuid) or nullThe project of the run's work item, when Plane records it. Activities posted through the API leave it
null.created_atstring (date-time)When the activity was posted.
updated_atstring (date-time)When the activity record last changed.
created_by_idstring (uuid) or nullThe user who created the activity record.
updated_by_idstring (uuid) or nullThe user who last updated the activity record.
{
"id": "9a6e3b72-1d4c-4e85-b2f9-5c8a7d1e4f36",
"agent_run_id": "5d2e8b47-3a1c-4f96-b0e2-7c9a4d1f8e63",
"type": "response",
"content": {
"type": "response",
"body": "<p>The loop started with commit 4e1a9c2, which set the session cookie to SameSite=Strict. Safari drops the cookie on the OAuth callback, so the app sends you back to login. Setting it to Lax fixes it.</p>"
},
"content_metadata": {
"idempotency_key": "triage-5d2e8b47-final"
},
"ephemeral": false,
"signal": "continue",
"signal_metadata": {},
"actor_id": "a8f3c1d2-6b4e-4e57-9d10-2f5b7c8e3a94",
"comment_id": "d58b2f7a-4e1c-4a96-9b03-8f6c2e7d1a45",
"project_id": null,
"created_at": "2026-11-20T10:17:30.915842Z",
"updated_at": "2026-11-20T10:17:30.915842Z",
"created_by_id": "a8f3c1d2-6b4e-4e57-9d10-2f5b7c8e3a94",
"updated_by_id": null
}Endpoints
| Method | Path | Description |
|---|---|---|
GET | /api/v2/workspaces/{slug}/runs/activities/ | List workspace agent run activities |
GET | /api/v2/workspaces/{slug}/runs/{run_id}/activities/ | List agent run activities |
POST | /api/v2/workspaces/{slug}/runs/{run_id}/activities/ | Create an agent run activity |
GET | /api/v2/workspaces/{slug}/runs/{run_id}/activities/{pk}/ | Get an agent run activity |
Reads need the agents.run_activities:read scope, and create needs agents.run_activities:write.
Who can post what
What you can post depends on who you are:
- The run's agent, calling with its bot token, posts the run's output:
thought,action,response,elicitation, anderror. An agent can't post aprompt. On a run with a work item, a non-ephemeralresponseorelicitationbecomes a reply in the run's thread, posted as the agent. If the run has no thread yet, that reply starts it. - A person posts a
promptonly, with nosignal, noephemeral, and nocomment_id. They need permission to comment on the run's work item. If the run already has a thread on a work item, Plane mirrors the prompt into it as a reply from them. Plane then sends the agent's app the activity webhook. A Plane agent picks the prompt up inside Plane instead. To stop a run, a person calls Stop an agent run.
Both can read every activity on the runs they can see.
One run or the whole workspace
List agent run activities reads one run's log. It shows everything up to the moment you call it, including the activity you just posted, so an agent can check its own writes there.
List workspace agent run activities is a single feed of the activities on every run you can see. For an agent, that's every activity on its own runs. An agent that polls instead of using webhooks keeps one cursor on this feed and finds new prompts and stop requests across all its runs. Filter it with ?agent_run_id= to narrow it to one run.
The feed leaves out activities from the last 3 seconds when you poll with created_at__gte or walk it with an ascending cursor. Your next poll picks them up, after the writes have committed, so the feed never skips an activity. The per-run list doesn't hold anything back.
Response shaping
Every activity read accepts ?fields= for sparse responses and ?expand=actor to embed the user who posted it. See Sparse fields and Expanding relations. Errors follow the shared problem+json contract.
Changed from v1
- Ids are flat: v1's
agent_run,actor,comment, andprojectare nowagent_run_id,actor_id,comment_id, andproject_id. typeis required when you create an activity. v1 defaulted it toprompt.- A person can post only a
prompt, and Plane mirrors it into the work item thread, as in Plane's own session view. - A malformed
content,content_metadata, orsignal_metadatareturns400. In some of these cases v1 returned500. - v2 adds the workspace-wide activity feed.
See Migrating from v1 for the full list.

