> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Stream Execution History

> Retrieves the execution history for a specific data stream, including details about completed operations, errors, and performance metrics



## OpenAPI

````yaml /openapi/product/data-sets.yaml get /api/data/v1/streams/{streamId}/history/aggregate
openapi: 3.0.0
info:
  title: Datasets API
  version: v1
  description: >
    The Domo Datasets API provides a set of endpoints for managing, creating,
    and updating datasets within Domo. The API allows developers to execute SQL
    queries on datasets,

    manage access permissions, retrieve metadata, append rows, share datasets,
    and perform various dataset operations.
servers:
  - url: https://{instance}.domo.com
    description: Domo Instance
    variables:
      instance:
        default: example
        description: Your Domo instance name
security:
  - developerToken: []
paths:
  /api/data/v1/streams/{streamId}/history/aggregate:
    get:
      tags:
        - Datasets API
      summary: Stream Execution History
      description: >-
        Retrieves the execution history for a specific data stream, including
        details about completed operations, errors, and performance metrics
      parameters:
        - name: streamId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Execution history
          content:
            application/json:
              example:
                - streamId: 371
                  executionId: 34320
                  currentState: SUCCESS
                  rowsInserted: 297164
                  bytesInserted: 43584980
                  startedAt: 1656009784
                  endedAt: 1656009824
                  updateMethod: REPLACE
                  peakMemoryUsedBytes: 200819808
                - streamId: 371
                  executionId: 34319
                  currentState: SUCCESS
                  rowsInserted: 297164
                  bytesInserted: 43584980
                  startedAt: 1656007981
                  endedAt: 1656008009
                  updateMethod: REPLACE
                  peakMemoryUsedBytes: 206690488
      x-codeSamples:
        - lang: HTTP
          source: |
            GET /api/data/v1/streams/{streamId}/history/aggregate HTTP/1.1
            Host: {instance}.domo.com
            X-DOMO-Developer-Token: {token}
components:
  securitySchemes:
    developerToken:
      type: apiKey
      in: header
      name: X-DOMO-Developer-Token
      description: Developer token obtained from Domo

````