Skip to main content
PATCH
/
api
/
custom-enrichment-columns
/
{id}
Rename a custom enrichment column
curl --request PATCH \
  --url https://app.puffle.ai/api/custom-enrichment-columns/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{ "success": true }

Overview

Rename an enrichment column that a user previously added to a list. Only the display name (name) is editable here. Other column metadata (prompt, output type, source filters) is managed via the lists column endpoints under /api/lists/{id}/columns/{colId}. Ownership is verified through the parent list — if the column exists but the list isn’t owned by the caller, the endpoint returns 403 rather than 404, so the caller can distinguish “doesn’t exist” from “not yours”.

AI agent notes

Rename-only. For changes to the prompt or enrichment logic, use Update a list column instead.403 vs 404. A 404 means the column ID doesn’t exist at all. A 403 means the column exists but belongs to another user’s list. Both should be treated as non-recoverable from the caller’s side.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Custom enrichment column UUID. Must belong to a list owned by the caller.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
name
string
required

New display name for the column. Required, non-empty.

Minimum string length: 1

Response

Column renamed.

success
enum<boolean>
required
Available options:
true