alpha

Download attachments

Download a file attached to an Alpha conversation, by its id: its uploader may, and so may anyone who may read the conversation once a question carried it. Answers the file's name, type and size, and a short-lived url that GETs its bytes.

get/api/v1/alpha/attachments/download

Request

  • Base URL: https://point11.ai
  • URL: https://point11.ai/api/v1/alpha/attachments/download
  • Auth: OAuth 2 (authorization code, authorization URL https://auth.point11.ai/oauth2/authorize, token URL https://auth.point11.ai/oauth2/token)

Query parameters

idstring required

Alpha attachment ID

Headers

Point11-Organizationstring uuid

Organization to act in. Required for OAuth bearers; an API key acts in the organization that owns it.

Response

Success.

filenamestring required

Suggested file name for saving the bytes

contentTypestring required
byteLengthinteger required
urlstring uri nullable required

Short-lived presigned URL that GETs the bytes; null when this deployment cannot sign the object

expiresAtstring date-time nullable required

When url stops working (minutes after the call); null with url

idstring required
conversationIdstring required

The conversation the file belongs to

Changes

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