Skip to content
Documents

GEThttps://core-api.heysadie.ai/documents/{id}/content

id

Get document content

Get raw text content of a document from S3

Try it in the API Explorer

Example request

Terminal
curl "https://core-api.heysadie.ai/documents/DOCUMENT_ID/content" \
  -H "Authorization: ApiKey YOUR_API_KEY"

Authentication

Authenticate with an API key in the Authorization header using the ApiKey scheme. See Authentication for how keys work and where to get them.

Authorizationstringrequired

API key in the ApiKey scheme: ApiKey YOUR_API_KEY. Tenant keys authorize their own tenant; organization keys can act on any tenant in the organization.

X-Tenant-Idstring (uuid)optional

Required when authenticating with an organization key: it selects the tenant the request acts on. Omit with tenant keys.

Request

Path parameters

idstringrequired

The resource's UUID.

Responses

200Returns the raw document text as text/plain, not JSON. This endpoint does not use the response envelope.

No response schema documented.