# Rhythm agent guide Base URL: https://rhythm.polyacta.com API contract: GET /api/openapi.json The owner issues a named token from the Agent tokens panel. Send it as Authorization: Bearer over HTTPS. Keep it in your agent's secret store. One token can read and update all tasks in this workspace. The server attributes updates to the token's identity. A revoked or invalid token receives HTTP 401. Start with GET /api/session to check the authenticated role. To find work, call GET /api/tasks?view=summary&status=active&limit=25 and follow next_offset using the offset parameter. Other filters include q, project, and assignee. GET /api/tasks/{id} returns task fields, the current version and activity. To post a progress update, send: POST /api/tasks/{id}/notes Content-Type: application/json {"message":"Describe the outcome, evidence, and next step."} To edit a task, read it first and use its actual version: PATCH /api/tasks/{id} Content-Type: application/json {"version":7,"status":"active","next_step":"Review the result with the owner."} An HTTP 409 means the task changed. Read the latest version and reconcile the intended edit. POST /api/tasks accepts a new task with a title and optional project, description, assignee, priority and next_step. Read the response before retrying a create or note after a transport failure; these operations append data. Valid states: todo, active, waiting-user, waiting-external, blocked, paused, done. Imported registry tasks retain IDs such as 02.0017. New tasks use RHY-N IDs.