Knowledge Base

Merges 1-20 source pillars into a published target pillar: every fact on the sources (any review status) re-files onto the target, page links carry over keeping the stronger signal, and the source pillars are then deleted. The target must be a published pillar and must not appear among the sources. Unlike the other Knowledge Base writes, retries are strict: missing source ids are rejected rather than skipped, so re-read the pillars before retrying a failed merge. Requires a website-admin API key. Also available as the MCP tool merge_pillars.

post/api/v1/knowledge-base/pillars/merge

Request

  • Base URL
    https://api.athenahq.ai
  • Auth
    API key in header x-api-key

Request body

website_idstring uuid required

The website whose pillars to merge.

target_pillar_idstring uuid required

The published pillar that survives and receives the sources' facts.

source_pillar_idsstring[] required

Pillars to fold into the target. Deleted after the merge.

Response

Merge report

successtrue required
moved_fact_countinteger required

Facts re-filed from the sources onto the target.

Changes