---
title: "Work waiting for the workspace's own agent"
method: GET
path: "/v1/compliance/tasks"
tags: ["Compliance"]
---

# Work waiting for the workspace's own agent

`GET /v1/compliance/tasks`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/compliance/tasks`
- Auth: HTTP bearer

Tasks offered while the decider is `external`, oldest first: reading a framework's requirements (`extraction`), deriving its rules (`rules`), judging documents (`evaluation`) or comparing a batch (`discrepancy`). A claimed task whose lease has run out reads `available` again.

## Query parameters

- `status` 'open' | 'all'
- `limit` integer

## Response `200`

The tasks.

- object
  - `data` ComplianceTask[]
    - `id` string, uuid
    - `kind` 'extraction' | 'rules' | 'evaluation' | 'discrepancy'
    - `evaluation_id` string, uuid, nullable
    - `framework_document_id` string, uuid, nullable
    - `status` 'available' | 'claimed' | 'submitted' | 'cancelled': `claimed` only while the lease runs; an expired claim reads `available`.
    - `execution_epoch` integer: Raised by each claim; sent with heartbeat, release and submit.
    - `claimed_by_label` string, nullable
    - `lease_expires_at` string, date-time, nullable
    - `created_at` string, date-time

## Changes

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/compliance/tasks/get.md)

---

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