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

# Get file text

> Read the extracted text of one File version.

**Operation ID:** `http.files.text`

```http theme={null}
GET /v1/orgs/{org}/projects/{project}/files/{file}/versions/{version}/text
```


## OpenAPI

````yaml openapi.json GET /v1/orgs/{org}/projects/{project}/files/{file}/versions/{version}/text
openapi: 3.1.0
info:
  title: Penumbra API
  version: v1
  description: >-
    HTTP reference for Files, search, extraction, reviews, Graph, Shapes and
    sharing.
servers:
  - url: https://api.pnbr.io
    description: Penumbra API
security: []
paths:
  /v1/orgs/{org}/projects/{project}/files/{file}/versions/{version}/text:
    get:
      tags:
        - Files
      summary: Get file text
      description: >-
        Read the extracted text of one File version.


        Product guidance: [File](/concepts/file), [Synced
        folder](/concepts/source).
      operationId: http.files.text
      parameters:
        - name: org
          in: path
          required: true
          schema:
            type: string
        - name: project
          in: path
          required: true
          schema:
            type: string
        - name: file
          in: path
          required: true
          schema:
            type: string
        - name: version
          in: path
          required: true
          schema:
            type: string
        - name: start_byte
          in: query
          required: false
          description: The first UTF-8 byte to read. Defaults to 0. Not allowed with page.
          schema:
            type: string
            pattern: ^\d+$
        - name: page
          in: query
          required: false
          description: >-
            A page number, from 1. The window starts at that page and never
            reaches past its end. Not allowed with start_byte.
          schema:
            type: string
            pattern: ^\d+$
        - name: limit_bytes
          in: query
          required: false
          description: How many bytes to read, 1 to 65,536. Defaults to 16,384.
          schema:
            type: string
            pattern: ^\d+$
      responses:
        2XX:
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_files_text_response'
      security:
        - bearerAuth: []
components:
  schemas:
    http_files_text_response:
      type: object
      properties:
        data:
          type: object
          properties:
            file_id:
              type: string
            version_id:
              type: string
            version_number:
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
            media_type:
              type: string
            sha256:
              type: string
            parser_name:
              anyOf:
                - type: string
                - type: 'null'
            parser_version:
              anyOf:
                - type: string
                - type: 'null'
            offset_unit:
              type: string
            start_byte:
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
            end_byte_exclusive:
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
            total_bytes:
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
            eof:
              type: boolean
            text:
              type: string
          required:
            - file_id
            - version_id
            - version_number
            - media_type
            - sha256
            - parser_name
            - parser_version
            - offset_unit
            - start_byte
            - end_byte_exclusive
            - total_bytes
            - eof
            - text
          additionalProperties: {}
      required:
        - data
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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