Knowledge hubs

Edit a page's title or content

Edits a page's title and/or Markdown content and re-indexes it into the hub's knowledge store before answering. Editing a generated page flips its origin to edited; it keeps your text until its sources are re-crawled, at which point an update or refresh of the hub regenerates it. Pages you authored (origin user) keep your edits permanently. The response carries only the fields this call changes; list the hub's pages for a page's category and createdAt. The hub's owner can edit pages, and so can anyone on the team when it is the team's shared hub.

Errors:

  • 404 KNOWLEDGE_HUB_NOT_FOUND — No hub with that id, it was deleted, or it belongs to another team.
  • 404 KNOWLEDGE_PAGE_NOT_FOUND — No page with that id on this hub.
  • 409 KNOWLEDGE_HUB_NOT_READY — The hub is still building, or its build never finished.
  • 409 KNOWLEDGE_HUB_PAGES_UNAVAILABLE — The hub predates knowledge pages.
  • 403 KNOWLEDGE_HUB_OWNER_ONLY — You can read this teammate's hub, but it is not your team's shared hub, so only its owner can edit pages.
  • 422 VALIDATION_FAILED — Neither title nor content given, or a value too long.
  • 500 UNEXPECTED_ERROR — The edit was saved but could not be re-indexed; retry the PATCH.
  • 429 RATE_LIMITED — More than 30 knowledge-hub/campaign requests in a minute (or 1000 in a day). Knowledge hubs share the campaigns bucket.

Requires one of the following token scopes: campaigns.

patch/business/knowledge-hubs/{hubId}/pages/{pageId}

Request

  • Base URL: https://api.tryfuse.ai/api/v1
  • URL: https://api.tryfuse.ai/api/v1/business/knowledge-hubs/{hubId}/pages/{pageId}
  • Auth: HTTP basic

Path parameters

hubIdstring required

24-character hex id of the knowledge hub (from GET /business/knowledge-hubs).

pageIdstring required

24-character hex id of the knowledge page (from GET /business/knowledge-hubs/{hubId}/pages).

Request body

titlestring

New page title (1-200 characters).

contentstring

New Markdown body (1-60,000 characters); a generated page becomes an edited one but is still refreshed when its sources change.

Response

Success

Changes

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