Treblle · Arazzo Workflow

Treblle Project Health Snapshot

Version 1.0.0

Resolve a project then pull its analytics and auto-discovered endpoints for a single health view.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub AnalyticsArtificial IntelligenceDeveloper ExperienceDocumentationGovernanceInsightsObservabilityPlatformSecurityTestingArazzoWorkflows

Provider

treblle

Workflows

project-health-snapshot
Combine a project's analytics and discovered endpoints into one snapshot.
Verifies the project, pulls its analytics for a date range, then lists its auto-discovered endpoints.
3 steps inputs: apiKey, endDate, projectId, startDate outputs: avgResponseTime, discoveredEndpoints, errorRate, projectName, totalRequests
1
resolveProject
Confirm the target project exists before pulling its analytics.
2
getAnalytics
Retrieve aggregated analytics for the project over the supplied date range, including error rate, average response time, and top endpoints.
3
listEndpoints
List the endpoints Treblle auto-discovered from live traffic for the project, including per-endpoint performance metrics.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Treblle Project Health Snapshot
  summary: Resolve a project then pull its analytics and auto-discovered endpoints for a single health view.
  description: >-
    Builds a combined health snapshot for a monitored API. The workflow
    confirms the project, retrieves aggregated analytics (request volume, error
    rate, average response time, top endpoints) over a date range, and then
    lists the endpoints Treblle auto-discovered from live traffic so volume and
    discovery can be reviewed together. Every step spells out its request inline
    so the flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
sourceDescriptions:
- name: analyticsApi
  url: ../openapi/treblle-analytics-api-openapi.yml
  type: openapi
- name: endpointsApi
  url: ../openapi/treblle-endpoints-api-openapi.yml
  type: openapi
- name: projectsApi
  url: ../openapi/treblle-projects-api-openapi.yml
  type: openapi
workflows:
- workflowId: project-health-snapshot
  summary: Combine a project's analytics and discovered endpoints into one snapshot.
  description: >-
    Verifies the project, pulls its analytics for a date range, then lists its
    auto-discovered endpoints.
  inputs:
    type: object
    required:
    - apiKey
    - projectId
    properties:
      apiKey:
        type: string
        description: Treblle API key passed in the Treblle-Api-Key header.
      projectId:
        type: string
        description: The project to build a health snapshot for.
      startDate:
        type: string
        description: Analytics start date (YYYY-MM-DD).
      endDate:
        type: string
        description: Analytics end date (YYYY-MM-DD).
  steps:
  - stepId: resolveProject
    description: Confirm the target project exists before pulling its analytics.
    operationId: getProject
    parameters:
    - name: Treblle-Api-Key
      in: header
      value: $inputs.apiKey
    - name: projectId
      in: path
      value: $inputs.projectId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      projectName: $response.body#/name
  - stepId: getAnalytics
    description: >-
      Retrieve aggregated analytics for the project over the supplied date
      range, including error rate, average response time, and top endpoints.
    operationId: getProjectAnalytics
    parameters:
    - name: Treblle-Api-Key
      in: header
      value: $inputs.apiKey
    - name: projectId
      in: path
      value: $inputs.projectId
    - name: start_date
      in: query
      value: $inputs.startDate
    - name: end_date
      in: query
      value: $inputs.endDate
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      totalRequests: $response.body#/total_requests
      errorRate: $response.body#/error_rate
      avgResponseTime: $response.body#/avg_response_time
      topEndpoints: $response.body#/top_endpoints
  - stepId: listEndpoints
    description: >-
      List the endpoints Treblle auto-discovered from live traffic for the
      project, including per-endpoint performance metrics.
    operationId: listEndpoints
    parameters:
    - name: Treblle-Api-Key
      in: header
      value: $inputs.apiKey
    - name: projectId
      in: path
      value: $inputs.projectId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      endpoints: $response.body#/data
  outputs:
    projectName: $steps.resolveProject.outputs.projectName
    totalRequests: $steps.getAnalytics.outputs.totalRequests
    errorRate: $steps.getAnalytics.outputs.errorRate
    avgResponseTime: $steps.getAnalytics.outputs.avgResponseTime
    discoveredEndpoints: $steps.listEndpoints.outputs.endpoints

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/treblle-project-health-snapshot-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

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.