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

# Query object store

> Read rows back from the files an object-store-destination pipeline has written (Parquet, ORC, CSV, or JSON), without downloading them.



## OpenAPI

````yaml /openapi.yaml post /api/v1/query/objectstore
openapi: 3.0.3
info:
  title: Datris API
  description: >
    REST API for the Datris AI Data Platform. Ingest, validate, transform,
    store, and retrieve data.


    For AI agent integration, use the [MCP
    Server](https://docs.datris.ai/mcp-server) instead.
  version: 1.11.3
  contact:
    name: Datris
    url: https://datris.ai
  license:
    name: Apache 2.0
servers:
  - url: http://localhost:8080
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /api/v1/query/objectstore:
    post:
      tags:
        - Query
      summary: Query object store
      description: >-
        Read rows back from the files an object-store-destination pipeline has
        written (Parquet, ORC, CSV, or JSON), without downloading them.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - pipeline
              properties:
                pipeline:
                  type: string
                  description: Name of a pipeline with an objectStore destination
                limit:
                  type: integer
                  default: 100
                  description: Maximum rows to return
      responses:
        '200':
          description: Query results with file metadata
          content:
            application/json:
              schema:
                type: object
                properties:
                  pipeline:
                    type: string
                  path:
                    type: string
                    description: Object path the rows were read from
                  format:
                    type: string
                    description: File format (e.g. parquet, orc, csv, json)
                  columns:
                    type: array
                    items:
                      type: string
                  results:
                    type: array
                    items:
                      type: object
                  count:
                    type: integer
        '400':
          description: >-
            User-actionable error (e.g. unknown pipeline, no objectStore
            destination)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '500':
          description: Error
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Optional API key for authentication (enabled via application.yaml)

````