Knowledge hubs

A download URL for a note's attachment

Returns a presigned download URL for the document attached to a note, together with the stored file name, MIME type and size. The URL is valid for one hour; request a fresh one when it expires. Readable by you and your teammates. A note that has no document answers 404 ATTACHMENT_NOT_FOUND, and a note id the hub does not have answers 404 NOTE_NOT_FOUND.

Errors:

  • 404 KNOWLEDGE_HUB_NOT_FOUND — No hub with that id, it was deleted, or it belongs to another team.
  • 404 NOTE_NOT_FOUND — No note with that id on this hub.
  • 404 ATTACHMENT_NOT_FOUND — The note has no document attached.
  • 422 VALIDATION_FAILED — hubId or noteId is not a 24-character hex id.
  • 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.

get/business/knowledge-hubs/{hubId}/attachments/{noteId}

Request

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

Path parameters

hubIdstring required

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

noteIdstring required

24-character hex id of the note (notes[].id in GET /business/knowledge-hubs/{hubId}).

Response

Success

Changes

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