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

# Get Org Sandbox Logs

> Return what one of the org's sandboxes had its own command print last, read or not.

The latest 64 KiB, kept by its host while the command runs and a few minutes after. A
sandbox created with no command of its own has none.



## OpenAPI

````yaml https://api.getfloo.com/openapi.json get /v1/orgs/sandboxes/{sandbox_id}/logs
openapi: 3.1.0
info:
  title: floo API
  version: 0.1.0
servers:
  - url: https://api.getfloo.com
security: []
paths:
  /v1/orgs/sandboxes/{sandbox_id}/logs:
    get:
      tags:
        - sandboxes
      summary: Get Org Sandbox Logs
      description: >-
        Return what one of the org's sandboxes had its own command print last,
        read or not.


        The latest 64 KiB, kept by its host while the command runs and a few
        minutes after. A

        sandbox created with no command of its own has none.
      operationId: sandboxes_get_org_sandbox_logs
      parameters:
        - name: sandbox_id
          in: path
          required: true
          schema:
            type: string
            title: Sandbox Id
        - $ref: '#/components/parameters/X-Floo-Org-Id'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxLogs'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  parameters:
    X-Floo-Org-Id:
      name: X-Floo-Org-Id
      in: header
      required: false
      schema:
        type: string
        format: uuid
      description: Organization to act in; defaults to the one joined most recently.
  schemas:
    SandboxLogs:
      properties:
        output:
          items:
            $ref: '#/components/schemas/SandboxOutput'
          type: array
          title: Output
        running:
          type: boolean
          title: Running
      type: object
      required:
        - output
        - running
      title: SandboxLogs
      description: >-
        What a sandbox's own command printed last, the latest 64 KiB of it, read
        or not.
    ErrorResponse:
      properties:
        detail:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - detail
      title: ErrorResponse
      description: Body of every error response except request validation (422).
    SandboxOutput:
      properties:
        stream:
          type: string
          enum:
            - stdout
            - stderr
          title: Stream
        text:
          type: string
          title: Text
      type: object
      required:
        - stream
        - text
      title: SandboxOutput
      description: >-
        One chunk of what a sandbox's own command printed, on the stream it
        printed it to.
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
      additionalProperties: true
      type: object
      required:
        - code
        - message
      title: ErrorDetail
      description: Standard error envelope with operation-specific JSON context.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A `floo_` API key.

````

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