Skip to content

MCP session snapshot for portal Kanban presence

GET
/projects/{id}/agent-activity
curl --request GET \
--url https://example.com/api/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/agent-activity \
--header 'Authorization: Bearer <token>'

Process-local active MCP sessions for the project (same runtime as the MCP connection). Checkpoints reserved for future task progress.

id
required
string format: uuid

Project UUID

Active sessions and optional checkpoints

Media type application/json
object
sessions
required
Array<object>
object
ticket_id
required
string | null format: uuid
ticket_number
required
integer | null
role
required
string
origin
required
string
connected_for_s
required
integer
working_for_s
required
integer | null
stale
required

True when no MCP tool activity on this session within the heartbeat threshold (~60s).

boolean
checkpoints
required
Array<object>
object
ticket_id
required
string format: uuid
agent_role
required
string
status
required
string
progress_pct
required
number
details
required
string
created_at
required
string format: date-time
session_history
required

Recent completed explicit work intervals (MCP start_work/stop_work), newest first

Array<object>
object
id
required
string format: uuid
ticket_id
required
string | null format: uuid
duration_seconds
required
integer
started_at
required
string format: date-time
ended_at
required
string format: date-time
agent_role
required
string | null
origin
required
string | null

Invalid request

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number

Not authenticated

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number
reconnect

True if re-linking GitHub may fix the issue

boolean

Forbidden

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number

Not found

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number