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

# Get Terms Document

> Retrieve an immutable current or historical published terms snapshot

> [!NOTE]
>
> Available in the Platform production API from October 22, 2026, including
> migration 119. Mobile distribution and genuine customer acceptance evidence
> remain separate from API availability.

Retrieve a published document by its exact version. Use a secret project key,
a restricted key with `end_users:read`, or the same EndUser's token. The EndUser
must still be active in the authenticated project; device, upload and completion
credentials are refused. Responses use `Cache-Control: no-store`.

The document contains its title, exact UTF-8 `content_text`, SHA-256
`content_sha256`, source URL and nullable `effective_at`. Published snapshots
cannot be updated, deleted or truncated. This read creates no presentation
or acceptance event.

For revision `2026-10-14`, `effective_at` is `null`: the public last-updated
date does not establish a historical legal effective date. Do not substitute
the version string for a missing effective date.

Use the version and hash in an
[event](/api-reference/end-users/terms-events.md) to collect its corresponding
historical wording. Only the
[current document](/api-reference/end-users/terms.md) can be presented or accepted
through the receipt endpoints; submitting a historical version returns `409`.


## OpenAPI

````yaml GET /end-users/{id}/terms/documents/{version}
openapi: 3.1.0
info:
  title: Bota API
  description: >-
    API for capturing, ingesting, and processing offline conversations via AI
    wearable devices
  version: 1.0.0
  contact:
    name: Bota Support
    email: support@bota.dev
servers:
  - url: https://api.bota.dev/v1
    description: Production
security:
  - bearerAuth: []
tags:
  - name: End Users
    description: Manage end users (wearable device users)
  - name: Devices
    description: Register, configure, and manage devices
  - name: Recordings
    description: Create and manage audio recordings
  - name: Uploads
    description: Upload and download recording audio files
  - name: Transcriptions
    description: Create and retrieve transcriptions
  - name: Summaries
    description: Create and retrieve AI-generated summaries
  - name: Search
    description: Semantic search over transcript chunks (RAG retrieval)
  - name: AI Ask
    description: Multi-turn Q&A over recordings (single- and cross-recording)
paths:
  /end-users/{id}/terms/documents/{version}:
    get:
      tags:
        - End Users
      summary: Read Immutable Terms Snapshot
      operationId: getEndUsersByIdTermsDocumentsByVersion
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
        - schema:
            type: string
            minLength: 1
            maxLength: 64
          required: true
          name: version
          in: path
      responses:
        '200':
          description: Immutable published document
          content:
            application/json:
              schema:
                type: object
                properties:
                  document:
                    $ref: '#/components/schemas/TermsDocument'
                required:
                  - document
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '423':
          $ref: '#/components/responses/OrganizationAccessQuarantined'
components:
  schemas:
    TermsDocument:
      type: object
      properties:
        version:
          type: string
        title:
          type: string
        content_sha256:
          type: string
          pattern: ^[a-f0-9]{64}$
        content_text:
          type: string
        source_url:
          type: string
          format: uri
        effective_at:
          type:
            - string
            - 'null'
          format: date-time
      required:
        - version
        - title
        - content_sha256
        - content_text
        - source_url
        - effective_at
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
      required:
        - error
  responses:
    OrganizationAccessQuarantined:
      description: >-
        Organization access is temporarily locked while an organization deletion
        request is active. The organization owner may cancel the request through
        the dashboard during the grace period.
      headers:
        Cache-Control:
          description: Quarantine responses must not be cached.
          schema:
            type: string
            const: no-store
      content:
        application/json:
          schema:
            type: object
            additionalProperties: false
            required:
              - error
            properties:
              error:
                type: object
                additionalProperties: false
                required:
                  - code
                  - message
                properties:
                  code:
                    type: string
                    const: organization_access_quarantined
                  message:
                    type: string
                    const: Organization access is temporarily locked
                  request_id:
                    type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key (sk_live_*, sk_test_*, rk_*), device token (dtok_*), or
        command-bound reset completion credential (rct_*; exact factory-reset
        ACK only)

````

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