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

# Get a culture by ID

> Retrieves a culture object from Redis by its ID.




## OpenAPI

````yaml /openapi/private/specs/services/culture.yml get /culture/{culture_id}
openapi: 3.1.0
info:
  title: Culture Service API
  description: >
    Manages the culture generation pipeline for council sages. Culture
    encompasses

    the tone, instructions, intro questions, and scoring configuration that
    define

    how a sage conducts screening interviews.


    ## Authentication

    All endpoints require authentication via one of two methods:

    - **API Key**: Pass the key in the `X-Auth` header (service-to-service
    calls)

    - **JWT Token**: Pass a Bearer token in the `Authorization` header
    (user-facing calls)


    The required permission level is noted per endpoint.


    ## Culture Pipeline

    1. **Process** -- Collect all culture inputs (instructions, tone, duration,
    scoring)

    2. **Save Full** -- Start a workflow run and asynchronously generate the
    culture

    3. **Generate** -- Run the full generation pipeline (context analysis, tone
    crafting, intro questions, scoring)

    4. **Save** -- Save individual culture step results to the Prompt Library

    5. **End** -- Finalize the council sage after culture generation


    ## Business Rules

    - Culture data is stored in Redis during the generation pipeline

    - The `save/full` endpoint starts a workflow run and fires async generation

    - The `generate` endpoint validates payload via `CreateSageGenerate` schema

    - Customizable sages use the full pipeline; non-customizable sages skip AI
    tone/context steps

    - The `end` endpoint finalizes the council sage in the Prompt Library
  version: 1.0.0
  contact:
    name: Platform Team
servers:
  - url: '{protocol}://{host}:{port}'
    description: Culture Service
    variables:
      protocol:
        default: https
        enum:
          - http
          - https
      host:
        default: localhost
      port:
        default: '5000'
security: []
tags:
  - name: Culture
    description: Culture CRUD, generation, and pipeline operations
  - name: Service
    description: Health checks and initialization
paths:
  /culture/{culture_id}:
    get:
      tags:
        - Culture
      summary: Get a culture by ID
      description: |
        Retrieves a culture object from Redis by its ID.
      operationId: getCulture
      parameters:
        - $ref: '#/components/parameters/CultureId'
        - $ref: '#/components/parameters/RequiredPermission_council_sage'
      responses:
        '200':
          description: Culture found
          content:
            application/json:
              schema:
                type: object
                description: Culture data as stored in Redis
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Culture not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Culture with ID a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d not found
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - jwtAuth: []
components:
  parameters:
    CultureId:
      name: culture_id
      in: path
      required: true
      description: UUID of the culture record
      schema:
        type: string
        format: uuid
      example: a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d
    RequiredPermission_council_sage:
      name: X-Permission-Info
      in: header
      required: false
      description: >-
        **Required JWT permission: `council_sage`** (informational only --
        enforced server-side)
      schema:
        type: string
  responses:
    Unauthorized:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            noApiKey:
              summary: Missing API key
              value:
                error: Unauthorized - API key required
            invalidApiKey:
              summary: Invalid API key
              value:
                error: Unauthorized - Invalid API key
            noToken:
              summary: Missing JWT token
              value:
                error: Unauthorized - No valid token
            invalidToken:
              summary: Invalid or expired JWT
              value:
                error: Unauthorized3
            insufficientPermissions:
              summary: Token lacks required permission
              value:
                error: Unauthorized4
    InternalError:
      description: Unexpected server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Internal server error
  schemas:
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Human-readable error message
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: User JWT token passed in Authorization header

````