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

# Workflow Stats

> Aggregate workflow_executions stats for the workflows.html KPI tiles.

Returns global counts over the last 24h plus per-workflow rows with their
last run status. Empty case returns zeros / empty list, never 500.

Note: workflow_executions.status uses 'completed' for success and 'failed'
for failure (engine.py); this endpoint maps 'completed' to successes_24h.



## OpenAPI

````yaml /openapi.json get /workflows/stats
openapi: 3.1.0
info:
  title: Slate API
  version: 1.0.0
  description: Trading infrastructure API.
servers:
  - url: https://api.{your-broker}.slate-labs.com
    variables:
      your-broker:
        default: broker
security: []
tags:
  - name: Authentication
  - name: API Tokens
  - name: Customers
  - name: Accounts
  - name: Orders
  - name: Instruments & Groups
  - name: Transactions
  - name: Payments
  - name: Transfers
  - name: Risk
  - name: Workflow & CRM
  - name: Messaging
  - name: Integrations
  - name: Webhooks
  - name: Compliance
  - name: Promo codes
  - name: Reporting
  - name: Audit
  - name: Fraud & moderation
  - name: Broker settings
  - name: Users
  - name: Roles & Teams
  - name: Streams (SSE)
  - name: Simulator
  - name: Observability
  - name: Prop trading
paths:
  /workflows/stats:
    get:
      tags:
        - Workflow & CRM
      summary: Workflow Stats
      description: >-
        Aggregate workflow_executions stats for the workflows.html KPI tiles.


        Returns global counts over the last 24h plus per-workflow rows with
        their

        last run status. Empty case returns zeros / empty list, never 500.


        Note: workflow_executions.status uses 'completed' for success and
        'failed'

        for failure (engine.py); this endpoint maps 'completed' to
        successes_24h.
      operationId: workflow_stats_workflows_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}

````