> ## Documentation Index
> Fetch the complete documentation index at: https://memoram.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Memory by ID

> Retrieve a specific memory blob by its ID. Requires the user's ID.

Retrieve a specific memory blob by its ID. Requires the user's ID.

The `content` field in the response blob will be encrypted and needs to be decrypted using the user's `encryption_key`.

### Authorization

Requires `Bearer` token authentication using your Developer JWT.


## OpenAPI

````yaml GET /memory-blobs/{blobId}
openapi: 3.0.3
info:
  title: Memoram API v1
  description: >-
    API for interacting with the Memoram platform, managing access, memories,
    and tags.
  version: 1.0.0
  contact:
    name: Memoram Support
    url: https://memoram.app
    email: support@memoram.app
servers:
  - url: https://api.memoram.app/api/v1
    description: Production Server
security: []
tags:
  - name: Access Management
    description: >-
      Endpoints for obtaining authentication tokens and managing access requests
      to user memories.
  - name: Memory Management
    description: >-
      Endpoints for creating, retrieving, updating, and deleting user memory
      blobs.
  - name: Memory Tag Management
    description: Endpoints for retrieving memory tags.
paths:
  /memory-blobs/{blobId}:
    get:
      tags:
        - Memory Management
      summary: Get Memory by ID
      description: Retrieve a specific memory blob by its ID. Requires the user's ID.
      parameters:
        - name: blobId
          in: path
          required: true
          description: The unique ID of the memory blob.
          schema:
            type: string
        - name: user_id
          in: query
          required: true
          description: The unique ID of the user who owns the memory blob.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Details of the memory blob.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemoryBlob'
        '400':
          description: Bad Request - Missing or invalid user_id.
        '401':
          description: Unauthorized - Invalid or expired JWT.
        '403':
          description: >-
            Forbidden - Memory blob does not belong to the user or developer
            lacks access.
        '404':
          description: Not Found - Memory blob with the specified ID not found.
      security:
        - bearerAuth: []
components:
  schemas:
    MemoryBlob:
      type: object
      description: Represents a single memory blob (content is encrypted).
      properties:
        id:
          type: string
        user_id:
          type: string
          format: uuid
        content:
          type: string
          description: >-
            Encrypted memory content. Needs decryption using the user's
            encryption key.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        source:
          type: string
        title:
          type: string
        summary:
          type: string
        importance:
          type: number
          format: float
        confidence:
          type: number
          format: float
        tags:
          type: array
          items:
            type: string
          description: List of tag names associated.
        tag_ids:
          type: array
          items:
            type: string
          description: List of tag IDs associated.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token obtained via `/auth/token` endpoint.

````