---
title: "PATCH /tracer/internal/error-feed-v2/attempts/{attempt_id}/"
method: PATCH
path: "/tracer/internal/error-feed-v2/attempts/{attempt_id}/"
tags: ["tracer"]
---

# PATCH /tracer/internal/error-feed-v2/attempts/{attempt_id}/

`PATCH /tracer/internal/error-feed-v2/attempts/{attempt_id}/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/tracer/internal/error-feed-v2/attempts/{attempt_id}/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Request body

- UpdateInvestigationAttemptRequest
  - `organization_id` string, uuid, required
  - `workspace_id` string, uuid, nullable, required
  - `project_id` string, uuid, required
  - `job_id` string, uuid, required
  - `lease_token` string, required
  - `action` 'renew' | 'cancel', required
  - `reason` string

## Response `200`

OK

- UpdateInvestigationAttemptResponse
  - `attempt_id` string, uuid, required
  - `status` string, required
  - `lease_expires_at` string, date-time, required
  - `cancellation_requested` boolean, required
  - `job_state` string, required

## Other responses

- `404`: Not Found
- `409`: Conflict
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
