Treblle · Arazzo Workflow

Treblle Provision a Monitoring Project

Version 1.0.0

Create a Treblle project and confirm its API ID and SDK token are ready for instrumentation.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalyticsArtificial IntelligenceDeveloper ExperienceDocumentationGovernanceInsightsObservabilityPlatformSecurityTestingArazzoWorkflows

Provider

treblle

Workflows

provision-project
Create a new Treblle project and verify its SDK credentials.
Creates a monitoring project for an API, then fetches it back by the returned project ID to confirm the API ID and SDK token are issued.
2 steps inputs: apiKey, description, environment, name outputs: apiId, environment, projectId, sdkToken
1
createProject
Create a new monitoring project, returning the API ID and SDK token used for SDK instrumentation.
2
confirmProject
Read the newly created project back by ID to confirm it is registered and its SDK credentials are available.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Treblle Provision a Monitoring Project
  summary: Create a Treblle project and confirm its API ID and SDK token are ready for instrumentation.
  description: >-
    The first step in onboarding an API onto Treblle. The workflow creates a
    new monitoring project, then re-reads it by ID to confirm the generated
    API ID and SDK token that an SDK needs for instrumentation are present and
    the project is registered in the workspace. 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
workflows:
- workflowId: provision-project
  summary: Create a new Treblle project and verify its SDK credentials.
  description: >-
    Creates a monitoring project for an API, then fetches it back by the
    returned project ID to confirm the API ID and SDK token are issued.
  inputs:
    type: object
    required:
    - apiKey
    - name
    properties:
      apiKey:
        type: string
        description: Treblle API key passed in the Treblle-Api-Key header.
      name:
        type: string
        description: Display name for the new project.
      description:
        type: string
        description: Optional description of the API the project monitors.
      environment:
        type: string
        description: Environment the project monitors (development, staging, production).
        default: production
  steps:
  - stepId: createProject
    description: >-
      Create a new monitoring project, returning the API ID and SDK token used
      for SDK instrumentation.
    operationId: createProject
    parameters:
    - name: Treblle-Api-Key
      in: header
      value: $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.name
        description: $inputs.description
        environment: $inputs.environment
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      projectId: $response.body#/id
      apiId: $response.body#/api_id
      sdkToken: $response.body#/sdk_token
  - stepId: confirmProject
    description: >-
      Read the newly created project back by ID to confirm it is registered
      and its SDK credentials are available.
    operationId: getProject
    parameters:
    - name: Treblle-Api-Key
      in: header
      value: $inputs.apiKey
    - name: projectId
      in: path
      value: $steps.createProject.outputs.projectId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      projectName: $response.body#/name
      environment: $response.body#/environment
      apiId: $response.body#/api_id
  outputs:
    projectId: $steps.createProject.outputs.projectId
    apiId: $steps.confirmProject.outputs.apiId
    sdkToken: $steps.createProject.outputs.sdkToken
    environment: $steps.confirmProject.outputs.environment

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-provision-project-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.