Skip to main content
GET
/
generate_presigned_url_no_auth
Generate Presigned URL for documents upload
curl --request GET \
  --url https://vevdoh3hve.execute-api.us-east-1.amazonaws.com/prod/generate_presigned_url_no_auth
{
  "data": {
    "url": {
      "url": "https://chatzy-kb-store.s3.us-east-1.amazonaws.com/",
      "fields": {
        "Content-Type": "application/pdf",
        "bucket": "chatzy-kb-store",
        "X-Amz-Algorithm": "AWS4-HMAC-SHA256",
        "X-Amz-Credential": "<string>",
        "X-Amz-Date": "20250821T075218Z",
        "X-Amz-Security-Token": "<string>",
        "key": "icons/3fa1d79c-79d5-48b0-abcc-65ab4cd0073a",
        "Policy": "<string>",
        "X-Amz-Signature": "<string>"
      }
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.chatzy.ai/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint generates a pre-signed URL (valid for 5 minutes) and associated form fields including the file_type (MIME type) ⚠️ Important
  • File size limit: 2MB
  • Presigned URLs are valid for 5 minutes

Query Parameters

file_type
enum<string>
required

MIME type of the file to be uploaded. Only PDF and image files are supported.

Available options:
application/pdf,
image/png,
image/jpeg
Example:

"application/pdf"

public
enum<integer>

Set to 1 if the uploaded file should be publicly available.

Available options:
0,
1
Example:

1

Response

200 - application/json

Pre-signed URL generated successfully

data
object
required