Workflows
get/v1/workflows

List workflows

Returns all workflow definitions for the authenticated project, ordered by updated_at descending. Definitions include the full graph — use this to inspect step configuration or check the current version number before running.

Server

https://api.agentruntime.io/v1/workflows
Production
AuthenticationRequiredBearerAuth

API key obtained from the AgentRuntime dashboard. Pass as Authorization: Bearer <key> on every request.

Stored only in this page session. It is not saved to local storage.

Test Request

Runs from your browser. Non-GET requests require explicit confirmation and tokens are sent only when you click Send.

Enter a bearer token to enable testing.

Client Libraries
Shell
curl -sS -X GET \
  'https://api.agentruntime.io/v1/workflows' \
  -H 'Authorization: Bearer <token>'
  • 200Array of workflow definitions.

    application/json

    workflows

    array of

    Schema
    idrequired

    string

    Unique workflow identifier, assigned on creation.

    Example: "wf_01hw3k9x4v8m"

    namerequired

    string

    Human-readable name. Used in URLs and run logs.

    Example: "customer-support-v2"

    description

    string

    Optional longer description shown in the dashboard.

    Example: "Routes support tickets, drafts replies with GPT-4o, escalates on low confidence."

    definitionrequired
    Schema
    created_at

    string

    Example: "2026-01-15T09:30:00Z"

    updated_at

    string

    Example: "2026-03-22T14:12:00Z"

    version

    integer

    Increments on every update. Useful for cache-busting and auditing.

    Example: 3

    {
      "workflows": [
        {
          "id": "wf_01hw3k9x4v8m",
          "name": "customer-support-v2",
          "description": "Routes support tickets and drafts replies.",
          "version": 3,
          "created_at": "2026-01-15T09:30:00Z",
          "updated_at": "2026-03-22T14:12:00Z"
        }
      ]
    }
  • 401Missing or invalid Bearer token.

    application/json

    errorrequired

    string

    Human-readable description of what went wrong.

    Example: "workflow not found"

    code

    string

    Machine-readable error code for programmatic handling.

    Example: "NOT_FOUND"

    {
      "error": "unauthorized",
      "code": "UNAUTHORIZED"
    }
  • 500Unexpected server error.

    application/json

    errorrequired

    string

    Human-readable description of what went wrong.

    Example: "workflow not found"

    code

    string

    Machine-readable error code for programmatic handling.

    Example: "NOT_FOUND"

    {
      "error": "internal server error",
      "code": "INTERNAL_ERROR"
    }