Treblle · Arazzo Workflow

Treblle Inspect a Project's Recent Requests

Version 1.0.0

Resolve a project, list its captured API requests, and pull the full detail of the most recent one.

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

Provider

treblle

Workflows

inspect-recent-requests
List a project's captured requests and fetch the latest one's full detail.
Verifies the project, lists its most recent captured requests, and retrieves the full detail of the newest request returned.
3 steps inputs: apiKey, perPage, projectId outputs: latestRequestId, latestResponseTime, latestStatusCode, projectName
1
resolveProject
Confirm the target project exists before reading its request logs.
2
listRequests
List the most recent captured API requests for the project, newest first on the first page.
3
getRequestDetail
Retrieve the full detail of the newest captured request, including headers, bodies, timing, and Treblle's analysis data points.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Treblle Inspect a Project's Recent Requests
  summary: Resolve a project, list its captured API requests, and pull the full detail of the most recent one.
  description: >-
    A core observability drill-down. The workflow confirms the target project
    exists, lists the most recent captured API requests for it, and then
    retrieves the complete request/response detail (headers, bodies, timing,
    and Treblle's analysis) for the newest request returned. 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: projectsApi
  url: ../openapi/treblle-projects-api-openapi.yml
  type: openapi
- name: requestsApi
  url: ../openapi/treblle-requests-api-openapi.yml
  type: openapi
workflows:
- workflowId: inspect-recent-requests
  summary: List a project's captured requests and fetch the latest one's full detail.
  description: >-
    Verifies the project, lists its most recent captured requests, and
    retrieves the full detail of the newest request returned.
  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 whose captured requests should be inspected.
      perPage:
        type: integer
        description: Number of requests to retrieve on the first page.
        default: 25
  steps:
  - stepId: resolveProject
    description: Confirm the target project exists before reading its request logs.
    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: listRequests
    description: >-
      List the most recent captured API requests for the project, newest first
      on the first page.
    operationId: listRequests
    parameters:
    - name: Treblle-Api-Key
      in: header
      value: $inputs.apiKey
    - name: projectId
      in: path
      value: $inputs.projectId
    - name: page
      in: query
      value: 1
    - name: per_page
      in: query
      value: $inputs.perPage
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      latestRequestId: $response.body#/data/0/id
      total: $response.body#/meta/total
  - stepId: getRequestDetail
    description: >-
      Retrieve the full detail of the newest captured request, including
      headers, bodies, timing, and Treblle's analysis data points.
    operationId: getRequest
    parameters:
    - name: Treblle-Api-Key
      in: header
      value: $inputs.apiKey
    - name: projectId
      in: path
      value: $inputs.projectId
    - name: requestId
      in: path
      value: $steps.listRequests.outputs.latestRequestId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      method: $response.body#/method
      statusCode: $response.body#/status_code
      responseTime: $response.body#/response_time
  outputs:
    projectName: $steps.resolveProject.outputs.projectName
    latestRequestId: $steps.listRequests.outputs.latestRequestId
    latestStatusCode: $steps.getRequestDetail.outputs.statusCode
    latestResponseTime: $steps.getRequestDetail.outputs.responseTime

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-recent-requests-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.