---
title: "Current working/idle state"
method: GET
path: "/agents/{agentId}/activity/state"
tags: ["Activity"]
---

# Current working/idle state

`GET /agents/{agentId}/activity/state`

## Request

- Base URL: `https://api.atako.ai`
- URL: `https://api.atako.ai/agents/{agentId}/activity/state`
- Auth: HTTP bearer

## Path parameters

- `agentId` string, required

## Response `200`

- ActivityState
  - `working` boolean, required
  - `labelKey` string
  - `labelParams` object
  - `since` string, date-time, required
  - `lastPlan` object
    - `todos` object[]
      - `content` string
      - `status` string
    - `ts` string, date-time

## Other responses

- `401`: Missing, malformed, or invalid bearer token / API key, or revoked session (SESSION_REVOKED).
- `404`: Not found, or the caller is not authorized to access this resource.

---

[API](https://skmtc.dev/atako/apis/atako-api.md) · [All operations](https://skmtc.dev/atako/apis/atako-api/llms.txt) · [OpenAPI document](https://skmtc.dev/atako/apis/atako-api/revisions/aa555c56fbd7?raw)
