---
title: "Update Operation"
method: PATCH
path: "/v1/api-performance/operations/{operation_id}"
tags: ["api-performance"]
---

# Update Operation

`PATCH /v1/api-performance/operations/{operation_id}`

## Path parameters

- `operation_id` string, required

## Request body

- UpdatePublicApiPerformanceOperationRequest
  - `method` string, nullable
  - `path` string, nullable
  - `description` string, nullable
  - `category_name` string, nullable
  - `category_slug` string, nullable
  - `openapi_operation_id` string, nullable
  - `interface_id` string, nullable

## Response `200`

Successful Response

- PublicApiPerformanceOperation
  - `id` string, required
  - `method` string, required
  - `path` string, required
  - `description` string, nullable
  - `category` PublicApiPerformanceCategory
    - `id` string, required
    - `name` string, required
    - `slug` string, required
    - `sort_order` integer
  - `openapi_operation_id` string, nullable
  - `interface_id` string, nullable
  - `created_at` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-05-15** `820f778732b1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/usesapient/apis/sapient-public-api/changes/v1/api-performance/operations/:operation_id/patch.md)

---

[API](https://skmtc.dev/usesapient/apis/sapient-public-api.md) · [All operations](https://skmtc.dev/usesapient/apis/sapient-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usesapient/sapient-public-api/revisions/820f778732b1/schema)
