Skip to main content
GET
TypeScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

namespace
string
required

The isolated namespace. This can be an ID for your user, a project ID, or any other identifier you wish to use to scope documents.

Maximum string length: 100
Pattern: ^[a-zA-Z0-9_:-]+$
Example:

"user_alex"

id
string
required

The public document ID

Required string length: 1 - 255
Example:

"my-doc-123"

Query Parameters

include
enum<string>[]

Comma-separated child resources to include: chunks, memories, or both.

Available options:
chunks,
memories

Response

Document retrieved successfully

Namespace-scoped document. Included keys are omitted unless requested and are empty arrays when requested without results.

id
string
required

Stable document identifier

Example:

"doc_xyz789"

title
string | null
required

Extracted or caller-provided document title

Example:

"API Rate Limiting Policy"

type
string
required

Detected source or content type

Example:

"text"

summary
string | null
required

Generated summary of the document, when available

content
string | null
required

Canonical extracted text used for processing and recall

Example:

"Our API rate limits are 100 req/min on free and 1000 on pro."

metadata
object
required

Caller metadata with internal fields removed

Example:
system
object
required

Processing status, lifecycle timestamps, and storage path maintained by Supermemory

chunks
object[]

Ordered document chunks; included only when requested

memories
object[]

Memories derived from the document; included only when requested