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

# Get a commit

> One commit, as GitHub's commit page: each note it changed with its status and the text the edit replaced and put in, its parent commit, and its checks (the judgments recorded for that turn).



## OpenAPI

````yaml /openapi.json get /folders/{id}/commits/{commit}
openapi: 3.1.0
info:
  title: Nemonist API
  version: 1.0.0
  description: >-
    OpenRouter-compatible API with durable per-workspace memory. Point any
    OpenRouter client at https://nemonist.com/api/v1 with a Nemonist key
    (sk-nm-...). Chat completions, Responses and Messages requests from a
    workspace carrying a .nemonist/key get its memory; every other request is
    answered as OpenRouter would.
  contact:
    name: Nemonist
    url: https://nemonist.com
servers:
  - url: https://nemonist.com/api/v1
    description: Production
security:
  - apiKey: []
tags:
  - description: API key management endpoints
    name: API Keys
  - description: Analytics and usage endpoints
    name: Analytics
  - description: Anthropic Messages endpoints
    name: Anthropic Messages
  - description: BYOK endpoints
    name: BYOK
  - description: Benchmarks endpoints
    name: Benchmarks
  - description: Chat completion endpoints
    name: Chat
  - description: Credit management endpoints
    name: Credits
  - description: >-
      Public OpenRouter usage datasets. Data returned by these endpoints is
      licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/):
      reuse and republish it, including commercially, with attribution to
      OpenRouter.
    name: Datasets
  - description: Text embedding endpoints
    name: Embeddings
  - description: Endpoint information
    name: Endpoints
  - name: Folders
    description: >-
      Your memory folders, over your account's API key: read, export, upload,
      and manage keys.
  - description: Generation history endpoints
    name: Generations
  - description: Guardrails endpoints
    name: Guardrails
  - description: Images endpoints
    name: Images
  - name: Memory
    description: Nemonist's per-workspace memory.
  - name: Model runs
    description: Run models (physics and others) on inputs; one contract for every model
  - description: Model information endpoints
    name: Models
  - description: OAuth authentication endpoints
    name: OAuth
  - description: Organization endpoints
    name: Organization
  - description: Private Endpoints endpoints
    name: Private Endpoints
  - description: Provider information endpoints
    name: Providers
  - description: Rerank endpoints
    name: Rerank
  - description: OpenAI-compatible Responses API endpoints
    name: Responses
  - description: Speech-to-text endpoints
    name: STT
    x-displayName: Transcriptions
  - description: >-
      System One endpoints for models such as Jev, compatible with the TypeSafe
      SDKs. See https://openrouter.ai/docs/guides/community/typesafe-sdk.
    name: SystemOne
    x-displayName: System One
  - description: Text-to-speech endpoints
    name: TTS
    x-displayName: Speech
  - description: Video Generation endpoints
    name: Video Generation
  - description: Workspaces endpoints
    name: Workspaces
  - name: beta.responses
    description: >-
      Deprecated alias of responses. Use responses instead; scheduled for
      removal (sunset date TBD).
paths:
  /folders/{id}/commits/{commit}:
    get:
      tags:
        - Folders
      summary: Get a commit
      description: >-
        One commit, as GitHub's commit page: each note it changed with its
        status and the text the edit replaced and put in, its parent commit, and
        its checks (the judgments recorded for that turn).
      operationId: getFolderCommit
      parameters:
        - name: id
          in: path
          required: true
          description: The folder's id (fld_...), as GET /folders lists it.
          schema:
            type: string
        - name: commit
          in: path
          required: true
          schema:
            type: string
          description: >-
            A commit id or a tag name, as GET /folders/{id}/commits and GET
            /folders/{id}/tags list them. HEAD (the newest commit) and <ref>~N
            (N commits older) work too, as git rev-parse; past the kept history
            is a 404.
      responses:
        '200':
          description: The commit.
          content:
            application/json:
              schema:
                type: object
                description: A commit with its files.
                properties:
                  id:
                    type: string
                    description: >-
                      The commit id: the turn's, as the Memory page's Commits
                      tab shows it.
                  at:
                    type: string
                    description: Its newest edit's time (ISO 8601).
                  message:
                    type: string
                    description: The first edit's reason, as a commit subject.
                  authors:
                    type: array
                    description: 'Team memory: who made its edits.'
                    items:
                      type: string
                      description: A member.
                  stats:
                    type: object
                    description: Its size.
                    properties:
                      files:
                        type: integer
                        description: Notes changed.
                      additions:
                        type: integer
                        description: Lines put in.
                      deletions:
                        type: integer
                        description: Lines removed.
                  paths:
                    type: array
                    description: The notes it changed.
                    items:
                      type: string
                      description: A path.
                  html_url:
                    type: string
                    description: Its page on the dashboard.
                  tags:
                    type: array
                    description: The tags that name this commit.
                    items:
                      type: string
                      description: A tag name.
                  session:
                    type: string
                    description: >-
                      The request that made it (absent on edits kept before Nov
                      17 2026), as a Copilot agent commit names its session.
                  started_by:
                    type: string
                    description: >-
                      The hash of the API key that sent that request, as the
                      dashboard's API keys list it.
                  turn_url:
                    type: string
                    description: >-
                      That turn in Logs: its memory round, with tokens, cost and
                      time.
                  parents:
                    type: array
                    description: >-
                      The folder's commit before it (none for the first kept
                      one).
                    items:
                      type: object
                      description: A parent.
                      properties:
                        id:
                          type: string
                          description: Its id.
                        html_url:
                          type: string
                          description: Its dashboard page.
                  files:
                    type: array
                    description: Each edit, in the order the turn made them.
                    items:
                      type: object
                      description: One edit.
                      properties:
                        path:
                          type: string
                          description: The note.
                        at:
                          type: string
                          description: When (ISO 8601).
                        reason:
                          type: string
                          description: Why, as given.
                        author:
                          type: string
                          description: 'Team memory: who.'
                        status:
                          type: string
                          enum:
                            - added
                            - modified
                            - removed
                          description: >-
                            What the edit did to the note. The edit that wrote a
                            note where none was is added, even when a later
                            forget left no history to replay (edits stored
                            before Nov 13 2026 carry no create mark and say
                            modified when their earlier version cannot be
                            rebuilt).
                        additions:
                          type: integer
                          description: Lines put in.
                        deletions:
                          type: integer
                          description: Lines removed.
                        diff:
                          type: boolean
                          description: >-
                            False when the edit's text was not kept (older edits
                            past the size budget).
                        replaced:
                          type: string
                          description: The text the edit removed.
                        added:
                          type: string
                          description: The text it put in.
                        rebuilt:
                          type: boolean
                          description: >-
                            Whether the note as this edit left it can be rebuilt
                            (contents_url answers 200).
                        contents_url:
                          type: string
                          description: GET it for the note as this commit left it.
                        html_url:
                          type: string
                          description: The note at this version on the dashboard.
                  checks:
                    type: array
                    description: Judgments recorded for this turn.
                    items:
                      type: object
                      description: A judgment.
                      properties:
                        id:
                          type: string
                          description: Id.
                        at:
                          type: string
                          description: When.
                        outcome:
                          type: string
                          description: >-
                            success, correction, repeat, error, surprise or
                            none.
                        salience:
                          type: string
                          description: low, medium or high.
                        reason:
                          type: string
                          description: Why.
                        paths:
                          type: array
                          description: Notes it names.
                          items:
                            type: string
                            description: A path.
        '401':
          description: Missing or invalid key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NemonistError'
        '404':
          description: No such commit in this folder, or no such folder.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NemonistError'
        '500':
          description: 'Nemonist: an internal error answered this request; retry.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NemonistError'
        '503':
          description: 'Nemonist: the account service is temporarily unavailable; retry.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NemonistError'
components:
  schemas:
    NemonistError:
      type: object
      description: An error answer.
      required:
        - error
      properties:
        error:
          type: object
          description: What went wrong.
          required:
            - message
          properties:
            code:
              type:
                - integer
                - string
              description: HTTP status or a short error code.
            type:
              type: string
              description: Error kind, such as proxy_error.
            message:
              type: string
              description: Human-readable error message.
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        A Nemonist key (sk-nm-...) as a bearer token in the Authorization
        header.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.