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

# Run queries of a Data Studio app

> Live results with parameter values, as the app viewers see them. Personal data fields come back empty.



## OpenAPI

````yaml /openapi-v1.json post /v1/data-apps/{id}/queries
openapi: 3.0.0
info:
  title: Woku Client API v1
  description: >-
    Public REST API for programmatic management of woku Voice-of-Customer
    programs: trackers, VoC instruments (NPS, woku, CES, CSAT), action plans,
    support tickets, multi-channel sending and response capture. Requests are
    company-scoped by the API key; never send a company id.
  version: 1.0.0
  contact:
    name: Woku
    url: https://woku.app
    email: team@woku.app
servers:
  - url: https://clientapi.woku.app
    description: Production
security: []
tags: []
paths:
  /v1/data-apps/{id}/queries:
    post:
      tags:
        - v1 - data-apps
      summary: Run queries of a Data Studio app
      description: >-
        Live results with parameter values, as the app viewers see them.
        Personal data fields come back empty.
      operationId: V1DataAppsController_runQueries
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
            format: ObjectId
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RunDataAppQueriesBodyDTO'
      responses:
        '200':
          description: Result or error per query id
        '404':
          description: App not found
      security:
        - bearer: []
components:
  schemas:
    RunDataAppQueriesBodyDTO:
      type: object
      properties:
        queries:
          maxItems: 30
          type: array
          items:
            $ref: '#/components/schemas/DataAppQueryRequestDTO'
        params:
          type: object
          additionalProperties: true
          description: >-
            Values by param id, e.g. {"period":{"from":"-30d","to":"today"}};
            text search goes through the app search param. Missing params use
            their default.
        version:
          type: number
          minimum: 1
          description: Version to query. Omit for the current version.
      required:
        - queries
    DataAppQueryRequestDTO:
      type: object
      properties:
        id:
          type: string
          maxLength: 64
          description: Query id of the app spec.
        page:
          type: number
          minimum: 0
          description: Page of a rows query (0-based).
      required:
        - id
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: Company secret API key.

````

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