ReadMe · Arazzo Workflow

ReadMe Upload An API Definition And Verify

Version 1.0.0

Upload an OpenAPI definition to a branch and read the created definition back.

1 workflow 1 source API 1 provider
View Spec View on GitHub DocumentationDeveloper HubAPI ReferencePortalAnalyticsArtificial IntelligenceMCPBi-Directional SyncArazzoWorkflows

Provider

readme

Workflows

upload-api-definition
Upload an API definition to a branch then fetch it back by id.
Uploads an API definition to the target branch and reads the created definition back by its id to confirm successful ingestion.
2 steps inputs: apiKey, branch, definition outputs: apiId, title
1
uploadDefinition
{$sourceDescriptions.apisApi.url}#/paths/~1branches~1{branch}~1apis/post
Upload the API definition to the target branch.
2
getDefinition
{$sourceDescriptions.apisApi.url}#/paths/~1branches~1{branch}~1apis~1{id}/get
Read the created API definition back by id to confirm ingestion.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: ReadMe Upload An API Definition And Verify
  summary: Upload an OpenAPI definition to a branch and read the created definition back.
  description: >-
    Publishing an API reference to a ReadMe hub starts with uploading an API
    definition to a branch. This flow uploads the definition and then fetches
    the created definition by id to confirm it was ingested and is available on
    the branch. 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: apisApi
  url: ../openapi/readme-apis-api-openapi.yml
  type: openapi
workflows:
- workflowId: upload-api-definition
  summary: Upload an API definition to a branch then fetch it back by id.
  description: >-
    Uploads an API definition to the target branch and reads the created
    definition back by its id to confirm successful ingestion.
  inputs:
    type: object
    required:
    - branch
    - definition
    properties:
      branch:
        type: string
        description: The branch (version) to upload the API definition to.
      definition:
        type: object
        description: The OpenAPI definition document to upload.
      apiKey:
        type: string
        description: ReadMe API key used as a Bearer token.
  steps:
  - stepId: uploadDefinition
    description: Upload the API definition to the target branch.
    operationPath: '{$sourceDescriptions.apisApi.url}#/paths/~1branches~1{branch}~1apis/post'
    parameters:
    - name: branch
      in: path
      value: $inputs.branch
    - name: Authorization
      in: header
      value: "Bearer $inputs.apiKey"
    requestBody:
      contentType: application/json
      payload:
        schema: $inputs.definition
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      apiId: $response.body#/id
  - stepId: getDefinition
    description: Read the created API definition back by id to confirm ingestion.
    operationPath: '{$sourceDescriptions.apisApi.url}#/paths/~1branches~1{branch}~1apis~1{id}/get'
    parameters:
    - name: branch
      in: path
      value: $inputs.branch
    - name: id
      in: path
      value: $steps.uploadDefinition.outputs.apiId
    - name: Authorization
      in: header
      value: "Bearer $inputs.apiKey"
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      title: $response.body#/title
      version: $response.body#/version
      source: $response.body#/source
  outputs:
    apiId: $steps.uploadDefinition.outputs.apiId
    title: $steps.getDefinition.outputs.title

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/readme-upload-api-definition-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.