keelwave
API ReferenceAgent

Bucketed run counts over time for the calling project

GET
/projects/{projectID}/agent/runs/timeseries

Returns per-bucket run outcome counts (total, completed, failed, loop) via TimescaleDB time_bucket. bucket is one of 1h, 6h, 1d.

Authorization

ApiKeyAuth
Authorization<token>

Format: "Bearer kw_"

In: header

Path Parameters

projectID*string

Project UUID

Query Parameters

from?string

RFC3339, default now - 30d

to?string

RFC3339, default now

bucket?string

bucket size: 1h (default), 6h, 1d

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/projects/string/agent/runs/timeseries"
[  {    "bucket": "string",    "completed": 0,    "failed": 0,    "loop": 0,    "total": 0  }]