---
title: "Get context usage history for a task"
method: GET
path: "/api/tasks/{id}/context"
tags: ["Tasks"]
---

# Get context usage history for a task

`GET /api/tasks/{id}/context`

## Path parameters

- `id` string, required

## Query parameters

- `limit` integer

## Response `200`

Context snapshot history

## Other responses

- `404` — Task not found

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/revisions/92a1dcbd2fc7/schema)
