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

# Commit Memory Sync

<Warning>The API Reference is under active development. Request and response schemas may change before a stable release.</Warning>


## OpenAPI

````yaml /openapi.json post /open/v1/memory/sync/commit
openapi: 3.1.0
info:
  title: Memind Server API
  description: HTTP API for Memind memory ingestion, retrieval, and administration.
  version: v1
servers: []
security: []
tags:
  - name: memory
    description: Runtime memory ingestion, retrieval, and health endpoints.
    x-group: memory
  - name: admin
    description: Administrative endpoints for memory operations.
    x-group: admin
paths:
  /open/v1/memory/sync/commit:
    post:
      tags:
        - memory
      summary: Commit Memory Sync
      operationId: commitMemorySync
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommitMemoryRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ErrorResult'
                  - $ref: '#/components/schemas/SuccessResult'
components:
  schemas:
    CommitMemoryRequest:
      type: object
      properties:
        userId:
          type: string
          minLength: 1
        agentId:
          type: string
          minLength: 1
        sourceClient:
          type: string
      required:
        - agentId
        - userId
    ErrorResult:
      allOf:
        - $ref: '#/components/schemas/ApiResultObject'
        - type: object
          properties:
            error:
              $ref: '#/components/schemas/ApiErrorObject'
    SuccessResult:
      allOf:
        - $ref: '#/components/schemas/ApiResultObject'
        - type: object
          properties:
            data: {}
    ApiResultObject: {}
    ApiErrorObject:
      type: object
      properties:
        code:
          type: string
          enum:
            - bad_request
            - validation_failed
            - malformed_json
            - not_found
            - version_conflict
            - runtime_unavailable
            - dependency_unavailable
            - internal_error
        message:
          type: string
        details: {}

````