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

# Get a single source type definition

> Return the raw source type definition for *name* as stored in the workspace YAML.

Reads ``{WORKSPACE_PATH}/source_types/{name}.yaml`` and returns its content
as JSON so the Console UI drawer can display the most up-to-date configuration,
including manual edits made directly to the workspace file outside the UI.



## OpenAPI

````yaml /api-reference/knowledge-api.json get /v1/knowledge/source-types/{name}
openapi: 3.1.0
info:
  title: Strattum Knowledge API
  description: >-
    REST API that serves semantic document search — embeddings via the
    configured LLM provider, indexed in Qdrant, with metadata stored in
    PostgreSQL. (PRD-004, Workstream 1.4)
  version: 1.0.0
servers: []
security: []
paths:
  /v1/knowledge/source-types/{name}:
    get:
      tags:
        - source-types
      summary: Get a single source type definition
      description: >-
        Return the raw source type definition for *name* as stored in the
        workspace YAML.


        Reads ``{WORKSPACE_PATH}/source_types/{name}.yaml`` and returns its
        content

        as JSON so the Console UI drawer can display the most up-to-date
        configuration,

        including manual edits made directly to the workspace file outside the
        UI.
      operationId: get_source_type_v1_knowledge_source_types__name__get
      parameters:
        - name: name
          in: path
          required: true
          schema:
            type: string
            pattern: ^[a-z][a-z0-9_-]*$
            description: >-
              Source type slug — lowercase, starting with a letter, using only
              letters, digits, underscores, or hyphens.
            title: Name
          description: >-
            Source type slug — lowercase, starting with a letter, using only
            letters, digits, underscores, or hyphens.
      responses:
        '200':
          description: Source type definition as stored in the workspace YAML
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Source Type V1 Knowledge Source Types  Name  Get
        '404':
          description: Source type not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````