Change one Hive AI knowledge source. Approving one is refused unless the person is an owner or admin.

post/api/v1/tools/update_ai_knowledge

Request

  • Base URL: https://hivepublish.com
  • URL: https://hivepublish.com/api/v1/tools/update_ai_knowledge
  • Auth: HTTP bearer

Headers

Idempotency-Keystring required

Required for every write.

Request body

knowledgeIdstring required

The source to change.

titlestring
approvedContentstring
sourceUrlstring

Source URL, or an empty string to clear it.

markFreshboolean

Record that the source was checked today.

freshnessDaysinteger
status'draft' | 'approved' | 'stale' | 'error' | 'archived'
expectedContentSha256string

For approval/review: exact contentSha256 from the complete read_ai_knowledge_sources native operation. Review its full wording first.

expectedUpdatedAtstring

Exact updatedAt of the source whose complete wording was reviewed.

expectedTitlestring

Exact reviewed title.

expectedSourceUrlstring

Exact reviewed source URL; empty for no URL.

expectedFreshnessDaysinteger

Exact reviewed freshnessDays.

Response

Tool result

dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.