Add one source the Hive AI may answer from. It arrives unapproved, and only an owner or admin can approve it.

post/api/v1/tools/create_ai_knowledge

Request

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

Headers

Idempotency-Keystring required

Required for every write.

Request body

titlestring required

What to call this source.

sourceType'text' | 'url' | 'file' | 'faq' required

Where the words come from.

sourceUrlstring

The address, for a url source.

storagePathstring

The stored file, for a file source.

approvedContentstring

The exact words the AI may use.

scope'workspace' | 'flow' | 'inbox'

Where it may be used.

freshnessDaysinteger

How many days before it counts as stale.

Response

Tool result

dataunknown required

Changes

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