Skip to main content
This endpoint exports workflow usage data including cost per workflow, run counts, and monthly cap utilization.

Before You Start

  • Prerequisites and rate limits: See the Usage Export API overview.
  • Browser requests: Langdock intentionally blocks browser-origin requests to protect your API key. Use API keys server-side and store them securely. See API Key Best Practices.
  • Privacy: When user-level data is disabled, workflow_owner_id and workflow_owner_email are omitted, and owner-only private workflows are excluded.

Base URL

Dedicated deploymentsReplace api.langdock.com with <your-deployment-url>/api/public in all requests.

Data Included

The workflow export returns one row per non-template workflow that had runs or cost in the selected period. monthly_limit_usd, current_month_cost_usd, and monthly_utilization_pct_current use the workflow monthly USD cap and current calendar-month spend. They are not the extra-usage fields from the user export.

Additional Columns for BYOK Workspaces

Because BYOK workspaces supply their own model keys, Langdock can provide token consumption data directly. This is not possible when obtaining your models directly through Langdock.
group_by is not supported for workflow exports.