Archive a computed trait
It leaves lists and editing; its versions stay for the work that used them.
It leaves lists and editing; its versions stay for the work that used them.
apiKey writeAuthorizationBearer <token>A workspace API key (pf_…), created under Developers → API keys.
Scope: write
id*string^(trait)_[0-9A-Za-z]{8}$idempotency-key?stringRun this write once: a retry with the same key gets the first answer (24 hours).
1 <= length <= 255No content
curl -X DELETE 'https://api.postforge.dev/v1/computed-traits/string'Update a computed trait PATCH
Renames it, moves it, or saves a new draft on top of `baseVersionId`, which must be the current draft (409 `version_stale` otherwise). A save by the same person within 10 minutes of the unpublished draft it continues replaces that draft (D105); otherwise it adds one. The published version doesn’t change.
Duplicate a computed trait POST
A new one with a copy of its draft (its latest version), named “… (copy)” unless `name` is given and in the same folder unless `folderId` is. It starts as a draft: publish it to use it.