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

# List Objects.

> List all Objects for the authenticated account with pagination support.



## OpenAPI

````yaml /openapi-specs/stainless-processed-openapi.json get /v1/objects
openapi: 3.1.0
info:
  title: RunLoop API
  version: '0.1'
  description: >-
    The RunLoop API spec that allows you to host lambda functions and Devboxes
    to enable scaled long running ai workflows.
  contact:
    name: Runloop AI Support
    url: https://runloop.ai
    email: support@runloop.ai
servers:
  - url: https://api.runloop.ai
    description: Runloop API
    variables: {}
security:
  - bearerAuth: []
tags:
  - name: Benchmark
  - name: Blueprint
  - name: Blueprint-Lifecycle
  - name: Blueprint-ObservabilityTools
  - name: Devbox
  - name: Devbox-FileTools
  - name: Devbox-Lifecycle
  - name: Devbox-NetworkTools
  - name: Devbox-ObservabilityTools
  - name: Devbox-PersistenceTools
  - name: Devbox-ShellTools
  - name: Scenario
  - name: ScenarioScorer
  - name: accounts
  - name: agents
  - name: apikeys
  - name: axons
  - name: executions
  - name: gateway-configs
  - name: mcp-configs
  - name: network-policies
  - name: objects
  - name: restricted_keys
  - name: secrets
  - name: streaming
paths:
  /v1/objects:
    get:
      tags:
        - objects
      summary: List Objects.
      description: List all Objects for the authenticated account with pagination support.
      operationId: listObjects
      parameters:
        - name: limit
          in: query
          description: The limit of items to return. Default is 20. Max is 5000.
          allowEmptyValue: true
          schema:
            type: integer
            format: int32
        - name: starting_after
          in: query
          description: >-
            Load the next page of data starting after the item with the given
            ID.
          allowEmptyValue: true
          schema:
            type: string
        - name: name
          in: query
          description: Filter storage objects by name (partial match supported).
          allowEmptyValue: true
          schema:
            type: string
        - name: content_type
          in: query
          description: Filter storage objects by content type.
          allowEmptyValue: true
          schema:
            $ref: '#/components/schemas/ContentType'
        - name: state
          in: query
          description: Filter storage objects by state.
          allowEmptyValue: true
          schema:
            $ref: '#/components/schemas/ObjectState'
        - name: search
          in: query
          description: Search by object ID or name.
          allowEmptyValue: true
          schema:
            type: string
        - name: include_total_count
          in: query
          description: >-
            If true (default), includes total_count in the response. Set to
            false to skip the count query for better performance on large
            datasets.
          allowEmptyValue: true
          schema:
            type: boolean
      responses:
        '200':
          description: Successfully retrieved list of Objects.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectListView'
        '401':
          description: Unauthorized. Invalid or missing authentication.
        '403':
          description: Forbidden. Account does not have devbox capability.
        '500':
          description: Internal server error.
      x-codeSamples:
        - lang: JavaScript
          source: |-
            import Runloop from '@runloop/api-client';

            const client = new Runloop({
              bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
            });

            // Automatically fetches more pages as needed.
            for await (const objectView of client.objects.list()) {
              console.log(objectView.id);
            }
        - lang: Python
          source: |-
            import os
            from runloop_api_client import Runloop

            client = Runloop(
                bearer_token=os.environ.get("RUNLOOP_API_KEY"),  # This is the default and can be omitted
            )
            page = client.objects.list()
            page = page.objects[0]
            print(page.id)
components:
  schemas:
    ContentType:
      type: string
      enum:
        - unspecified
        - text
        - binary
        - gzip
        - tar
        - tgz
    ObjectState:
      type: string
      enum:
        - UPLOADING
        - READ_ONLY
        - DELETED
        - ERROR
    ObjectListView:
      type: object
      description: A paginated list of Objects.
      properties:
        objects:
          type: array
          items:
            $ref: '#/components/schemas/ObjectView'
          description: List of Object entities.
        has_more:
          type: boolean
          description: True if there are more results available beyond this page.
        total_count:
          format: int32
          description: Total number of Objects across all pages.
          type:
            - integer
            - 'null'
      required:
        - objects
        - has_more
    ObjectView:
      type: object
      description: An Object represents a stored data entity with metadata.
      properties:
        id:
          type: string
          description: The unique identifier of the Object.
        name:
          type: string
          description: The name of the Object.
        state:
          $ref: '#/components/schemas/ObjectState'
          description: The current state of the Object.
        size_bytes:
          format: int64
          description: The size of the Object content in bytes (null until uploaded).
          type:
            - integer
            - 'null'
        content_type:
          $ref: '#/components/schemas/ContentType'
          description: The content type of the Object.
        create_time_ms:
          type: integer
          format: int64
          description: The creation time of the Object in milliseconds since epoch.
        delete_after_time_ms:
          format: int64
          description: >-
            The time after which the Object will be deleted in milliseconds
            since epoch.
          type:
            - integer
            - 'null'
        metadata:
          additionalProperties:
            type: string
          description: User defined metadata to attach to the Object for organization.
          type:
            - object
            - 'null'
        upload_url:
          description: Presigned URL for uploading content to S3 (only present on create).
          type:
            - string
            - 'null'
      required:
        - id
        - name
        - state
        - content_type
        - create_time_ms
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````