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

# Get Run File

> Authenticated proxy for the ONE lazily-loaded piece of the review:
spilled sheet-block HTML.

The review is otherwise fully inline — deliverables ride out in the run
result and the manifest lists no workspace files at all, so a customer
never sees a storage path or gets a handle on the workspace. The single
exception is a sheet block whose HTML exceeded the manifest's inline cap
(``SHEET_BLOCK_HTML_INLINE_MAX``, 200KB) and was spilled to
``run/document/sheets/{sheet}/{block}.html``; the sheet pane fetches those
on demand, which is exactly why they were spilled. Anything else under the
workspace — the staged document, intermediates, output artifacts, the raw
``trace/trace.jsonl`` (full message arrays, MISSION text), ``result.json``
— is a backend input and is NOT servable here.



## OpenAPI

````yaml https://www.datalab.to/openapi.json get /api/v1/agent-studio/runs/{run_id}/files/{path}
openapi: 3.1.0
info:
  title: Datalab API
  version: 0.0.1
servers:
  - url: https://www.datalab.to
    description: Datalab API
security: []
paths:
  /api/v1/agent-studio/runs/{run_id}/files/{path}:
    get:
      tags:
        - agent-studio
      summary: Get Run File
      description: >-
        Authenticated proxy for the ONE lazily-loaded piece of the review:

        spilled sheet-block HTML.


        The review is otherwise fully inline — deliverables ride out in the run

        result and the manifest lists no workspace files at all, so a customer

        never sees a storage path or gets a handle on the workspace. The single

        exception is a sheet block whose HTML exceeded the manifest's inline cap

        (``SHEET_BLOCK_HTML_INLINE_MAX``, 200KB) and was spilled to

        ``run/document/sheets/{sheet}/{block}.html``; the sheet pane fetches
        those

        on demand, which is exactly why they were spilled. Anything else under
        the

        workspace — the staged document, intermediates, output artifacts, the
        raw

        ``trace/trace.jsonl`` (full message arrays, MISSION text),
        ``result.json``

        — is a backend input and is NOT servable here.
      operationId: get_run_file_api_v1_agent_studio_runs__run_id__files__path__get
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: integer
            title: Run Id
        - name: path
          in: path
          required: true
          schema:
            type: string
            title: Path
        - name: wos-session
          in: cookie
          required: false
          schema:
            type: string
            title: Wos-Session
        - name: datalab_active_team
          in: cookie
          required: false
          schema:
            type: string
            title: Datalab Active Team
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
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
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````