---
title: "Knowledge Action Patch"
method: PATCH
path: "/api/orgs/{orgHandle}/projects/{projectHandle}/settings/knowledge-action"
tags: ["Settings"]
---

# Knowledge Action Patch

`PATCH /api/orgs/{orgHandle}/projects/{projectHandle}/settings/knowledge-action`

## Request

- Base URL: `https://mcp.usertold.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://mcp.usertold.ai/api/orgs/{orgHandle}/projects/{projectHandle}/settings/knowledge-action`
- Auth: none declared

Execute the UserTold knowledge action patch operation.

## Path parameters

- `orgHandle` string, required: orgHandle path parameter
- `projectHandle` string, required: projectHandle path parameter

## Request body

- object
  - `name` string, required
  - `when_to_use` string, required
  - `method` 'GET' | 'POST', required
  - `url` string, required
  - `headers` object
  - `body` object, nullable
  - `response_path` string, nullable

## Response `200`

Success

- object
  - `action` object, nullable, required
    - `name` string, required
    - `when_to_use` string, required
    - `method` 'GET' | 'POST', required
    - `url` string, required
    - `headers` object, required
    - `body` object, nullable
    - `response_path` string, nullable

## Other responses

- `400`: Bad request
- `401`: Not authenticated
- `404`: Not found
- `422`: Domain error (non-retryable)
- `500`: Internal server error
- `503`: Domain error (retryable)

---

[API](https://skmtc.dev/usertold/apis/usertold-ai-api.md) · [All operations](https://skmtc.dev/usertold/apis/usertold-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usertold/apis/usertold-ai-api/revisions/37d5b4f88d38?raw)
