---
title: "Counts schedules that will lose context when readable tasks are deleted."
method: GET
path: "/agents/schedules/taskdeletionimpact"
tags: ["agentSchedules"]
---

# Counts schedules that will lose context when readable tasks are deleted.

`GET /agents/schedules/taskdeletionimpact`

## Request

- Base URL: `https://api.awork.com/api/v1`
- URL: `https://api.awork.com/api/v1/agents/schedules/taskdeletionimpact`
- Auth: HTTP bearer

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

## Query parameters

- `taskIds` string[], required

## Response `200`

OK

- AgentScheduleTaskDeletionImpactResponseModel: Describes how deleting tasks affects agent schedules.
  - `scheduleCount` integer: The number of schedules that will lose a deleted task context.

## Other responses

- `400`: Bad Request

## Changes

- **2026-10-13** `ab257be657b1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/awork-io/apis/api-v1-reference/changes/agents/schedules/taskdeletionimpact/get.md)

---

[API](https://skmtc.dev/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.dev/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc.dev/awork-io/apis/api-v1-reference/revisions/81151fac7e79?raw)
