RunWhen rwfs API
The rwfs API from RunWhen — 1 operation(s) for rwfs.
The rwfs API from RunWhen — 1 operation(s) for rwfs.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/runwhen-rwfs-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: papi alert-query-proxy Rwfs API
description: RunWhen Platform API
version: 2.0.0
servers:
- url: https://papi.beta.runwhen.com
description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: rwfs
paths:
/api/v1/workspaces/{workspace_name}/rwfs/task-vitals:
get:
tags:
- rwfs
summary: Get Task Vitals
description: 'Return per-task run-history vitals for the workspace.
One entry per (slx_name, task_title) with any completed run_request
history. Tasks that have never run are omitted — the rwfs UI renders
grey pips by default for tasks it doesn''t see in this response.
The aggregator caps each partition at the last
``RECENT_RUNS_WINDOW`` run_requests so cost stays O(N_tasks) even
when individual tasks have thousands of historic runs.'
operationId: get_task_vitals_api_v1_workspaces__workspace_name__rwfs_task_vitals_get
parameters:
- name: workspace_name
in: path
required: true
schema:
type: string
title: Workspace Name
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TaskVitalsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- BearerAuth: []
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
TaskVitalsResponse:
properties:
items:
items:
$ref: '#/components/schemas/TaskVitalsItem'
type: array
title: Items
description: One entry per (slx, task) with any run history.
type: object
title: TaskVitalsResponse
description: Workspace-scoped task-vitals payload.
TaskVitalsItem:
properties:
slxName:
type: string
title: Slxname
description: Full SLX name (`<workspace>--<short_name>`).
taskTitle:
type: string
title: Tasktitle
description: Task title as it appears in run_request.task_titles.
recentStatuses:
items:
type: string
enum:
- ok
- fail
- warn
type: array
title: Recentstatuses
description: Most-recent statuses for this task, newest-first. Length 1..3; drops anything older than the third newest run_request.
openIssueCount:
type: integer
title: Openissuecount
description: Count of currently-open issues (`closed_at IS NULL`) for this (slx, task), across all severities. Title-template normalised so PAPI's unresolved form (``${VAR}``) matches the resolved form stored on ``issues.task_title``.
lastRunAt:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Lastrunat
description: Timestamp of the most-recent completed run_request.
type: object
required:
- slxName
- taskTitle
- recentStatuses
- openIssueCount
- lastRunAt
title: TaskVitalsItem
description: Per-(slx, task) run-history rollup.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: JWT access token from /api/v3/token/ or Auth0 login