---
title: "POST /v1/projects/{projectId}/stream"
method: POST
path: "/v1/projects/{projectId}/stream"
tags: ["LightDB Stream"]
---

# POST /v1/projects/{projectId}/stream

`POST /v1/projects/{projectId}/stream`

## Path parameters

- `projectId` string, required

## Request body

- DeviceStreamGetProjectStreamBody
  - `deviceId` string[]
  - `encodedQuery` string
  - `end` string, date-time
  - `interval` string
  - `page` integer
  - `perPage` integer
  - `query` GoliothDeviceStreamQuery
    - `fields` GoliothQueryField[]
      - `agg` string
      - `alias` string
      - `path` string
      - `type` string
    - `filters` GoliothQueryFilter[]
      - `filters` GoliothQueryFilter[]
      - `op` string
      - `path` string
      - `value` unknown
    - `timeBucket` string
  - `start` string, date-time
  - `tags` string[]

## Response `200`

A successful response.

- GoliothGetProjectStreamResponse
  - `list` unknown[]
    - unknown
  - `page` integer
  - `perPage` integer
  - `total` integer

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/golioth/apis/golioth-api.md) · [All operations](https://skmtc.dev/golioth/apis/golioth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/golioth/golioth-api/revisions/47c98ae69a55/schema)
