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

# Get Runtime Record By ID

> Returns a single row by primary-key value from the requested table.



## OpenAPI

````yaml GET /runtime/{sourceId}/{table}/{id}
openapi: 3.1.0
info:
  title: Synthbrew API
  description: Runtime CRUD and public v1 management endpoints for Synthbrew resources.
  version: 1.0.0
servers:
  - url: https://api.synthbrew.com/api
    description: Production
security:
  - sourceApiKey: []
tags:
  - name: Runtime
    description: Public runtime CRUD operations authenticated with source API keys
  - name: Public v1 Projects
    description: Team-scoped project management endpoints authenticated with team API keys
  - name: Public v1 Schemas
    description: Schema management endpoints scoped to projects accessible by the API key
  - name: Public v1 Sources
    description: >-
      Source management and generation endpoints scoped to projects accessible
      by the API key
paths:
  /runtime/{sourceId}/{table}/{id}:
    get:
      tags:
        - Runtime
      summary: Get a runtime record by primary key
      description: Returns a single row by primary-key value from the requested table.
      operationId: getRuntimeRecordById
      parameters:
        - $ref: '#/components/parameters/SourceId'
        - $ref: '#/components/parameters/Table'
        - $ref: '#/components/parameters/RecordId'
      responses:
        '200':
          description: Runtime row
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RuntimeRecord'
              examples:
                default:
                  value:
                    id: 1
                    name: Acme
                    active: true
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  parameters:
    SourceId:
      name: sourceId
      in: path
      required: true
      description: >-
        Source UUID. For runtime endpoints this identifies the source backing
        the table; for public v1 it identifies the source resource inside the
        project.
      schema:
        type: string
        format: uuid
      example: 11111111-1111-1111-1111-111111111111
    Table:
      name: table
      in: path
      required: true
      description: >-
        Runtime table identifier (usually the schema entity ID used in
        Synthbrew).
      schema:
        type: string
      example: orders
    RecordId:
      name: id
      in: path
      required: true
      description: >-
        Primary-key value of the row. Values are passed as path strings and cast
        by the runtime layer based on table schema.
      schema:
        type: string
      example: '42'
  schemas:
    RuntimeRecord:
      type: object
      description: Dynamic runtime row. Shape depends on the source schema/table.
      additionalProperties: true
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Human-readable error summary.
  responses:
    BadRequest:
      description: Validation or query error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing or invalid source API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            missingKey:
              value:
                error: API key required
            invalidKey:
              value:
                error: Invalid API key
    Forbidden:
      description: API key does not grant access to the requested source
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Source, table, or record not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    sourceApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Source API key created under /api/sources/:sourceId/api-keys

````