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

# Read a builder knowledge document

> Read the full content of a knowledge base document by its file path. Use after searching to read the documents you need. Returns structured fields parsed from YAML frontmatter plus the markdown body.



## OpenAPI

````yaml api-reference/agents/openapi.json GET /v1/builder-knowledge/docs/{path}
openapi: 3.1.0
info:
  title: PolyAI Agents API
  version: 1.0.11
  description: Manage PolyAI agents, telephony, deployments, and real-time configs.
servers:
  - url: https://api.us.poly.ai
    description: US region
  - url: https://api.eu.poly.ai
    description: EU region
  - url: https://api.uk.poly.ai
    description: UK region
  - url: https://api.studio.poly.ai
    description: Studio region
security:
  - polyApiKey: []
paths:
  /v1/builder-knowledge/docs/{path}:
    parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
        description: Relative path of the document, as returned by search
    get:
      tags:
        - Builder Knowledge
      summary: Read a builder knowledge document by path
      description: >-
        Read the full content of a knowledge base document by its file path. Use
        after searching to read the documents you need. Returns structured
        fields parsed from YAML frontmatter plus the markdown body.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadDocumentResponse'
        '401':
          description: Unauthorized – missing or invalid API key
        '403':
          description: Forbidden – insufficient permissions
        '404':
          description: Resource not found
components:
  schemas:
    ReadDocumentResponse:
      type: object
      title: ReadDocumentResponse
      description: 'A builder knowledge document: frontmatter fields plus the markdown body.'
      properties:
        path:
          type: string
          description: Relative path of the document
        title:
          type: string
          description: Document title from YAML frontmatter
        category:
          type: string
          description: Document category
        tags:
          type: array
          description: Document tags from frontmatter
          items:
            type: string
        whenToUse:
          type:
            - string
            - 'null'
          description: When this document is most relevant
        body:
          type: string
          description: Full markdown body of the document
      required:
        - path
        - title
        - category
        - tags
        - body
  securitySchemes:
    polyApiKey:
      type: apiKey
      in: header
      name: X-API-KEY

````