SmartMemory
PATCH
/memory/pipeline/profiles/{name}

Update a custom pipeline profile by name.

Private: members of the owning workspace. Org-wide: org admins only. The write is one conditional update whose filter re-asserts what this read decided, and a change in between returns 409.

Authorization

AuthorizationBearer <token>

Send Authorization: Bearer <token>. The token is either a Clerk session JWT or a SmartMemory API key (prefix sm_live_, sm_test_, or legacy sk_).

In: header

Path Parameters

name*Name

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request to update a custom pipeline profile. extra="forbid": only the editable fields are accepted.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/memory/pipeline/profiles/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "name": "string",
  "display_name": "string",
  "description": "string",
  "is_builtin": true,
  "is_active": true,
  "composition": {
    "property1": "string",
    "property2": "string"
  },
  "overrides": {
    "property1": {},
    "property2": {}
  },
  "tags": [
    "string"
  ],
  "usage_count": 0,
  "visibility": "private",
  "access": "builtin"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}