Test-Driven Development Repos API

The Repos API from Test-Driven Development — 7 operation(s) for repos.

Operations 7

GET /repos/{owner}/{repo}/actions/workflows List repository workflows #
GET /repos/{owner}/{repo}/actions/workflows/{workflow_id} Get a workflow #
POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches Trigger a workflow run via workflow_dispatch #
GET /repos/{owner}/{repo}/actions/runs List workflow runs for a repository #
GET /repos/{owner}/{repo}/actions/runs/{run_id} Get a workflow run #
POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun Re-run a workflow #
POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel Cancel a workflow run #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/test-driven-development-repos-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

test-driven-development-repos-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GitHub Actions API (Test-Driven Development) Repos API
  description: Subset of the GitHub REST API for managing GitHub Actions workflows and workflow runs in support of test-driven development pipelines, where tests are written first and executed on every pull request and commit via automated CI/CD workflows.
  version: '2026-03-10'
  contact:
    name: GitHub REST API - Actions
    url: https://docs.github.com/en/rest/actions
servers:
- url: https://api.github.com
  description: GitHub REST API
security:
- bearerAuth: []
tags:
- name: Repos
paths:
  /repos/{owner}/{repo}/actions/workflows:
    get:
      summary: List repository workflows
      operationId: listWorkflows
      parameters:
      - $ref: '#/components/parameters/Owner'
      - $ref: '#/components/parameters/Repo'
      responses:
        '200':
          description: Workflows listed.
      tags:
      - Repos
  /repos/{owner}/{repo}/actions/workflows/{workflow_id}:
    get:
      summary: Get a workflow
      operationId: getWorkflow
      parameters:
      - $ref: '#/components/parameters/Owner'
      - $ref: '#/components/parameters/Repo'
      - name: workflow_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Workflow returned.
      tags:
      - Repos
  /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches:
    post:
      summary: Trigger a workflow run via workflow_dispatch
      operationId: dispatchWorkflow
      parameters:
      - $ref: '#/components/parameters/Owner'
      - $ref: '#/components/parameters/Repo'
      - name: workflow_id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ref:
                  type: string
                inputs:
                  type: object
      responses:
        '204':
          description: Workflow dispatched.
      tags:
      - Repos
  /repos/{owner}/{repo}/actions/runs:
    get:
      summary: List workflow runs for a repository
      operationId: listWorkflowRuns
      parameters:
      - $ref: '#/components/parameters/Owner'
      - $ref: '#/components/parameters/Repo'
      responses:
        '200':
          description: Runs listed.
      tags:
      - Repos
  /repos/{owner}/{repo}/actions/runs/{run_id}:
    get:
      summary: Get a workflow run
      operationId: getWorkflowRun
      parameters:
      - $ref: '#/components/parameters/Owner'
      - $ref: '#/components/parameters/Repo'
      - name: run_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Run returned.
      tags:
      - Repos
  /repos/{owner}/{repo}/actions/runs/{run_id}/rerun:
    post:
      summary: Re-run a workflow
      operationId: rerunWorkflowRun
      parameters:
      - $ref: '#/components/parameters/Owner'
      - $ref: '#/components/parameters/Repo'
      - name: run_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '201':
          description: Re-run created.
      tags:
      - Repos
  /repos/{owner}/{repo}/actions/runs/{run_id}/cancel:
    post:
      summary: Cancel a workflow run
      operationId: cancelWorkflowRun
      parameters:
      - $ref: '#/components/parameters/Owner'
      - $ref: '#/components/parameters/Repo'
      - name: run_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '202':
          description: Cancellation accepted.
      tags:
      - Repos
components:
  parameters:
    Owner:
      name: owner
      in: path
      required: true
      schema:
        type: string
    Repo:
      name: repo
      in: path
      required: true
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: GitHub token