Woodpecker CI Process profiling and debugging API

The Process profiling and debugging API from Woodpecker CI — 9 operation(s) for process profiling and debugging.

Operations 10

GET /debug/pprof List available pprof profiles (HTML) #
GET /debug/pprof/block Get pprof stack traces that led to blocking on synchronization primitives #
GET /debug/pprof/cmdline Get the command line invocation of the current program #
GET /debug/pprof/goroutine Get pprof stack traces of all current goroutines #
GET /debug/pprof/heap Get pprof heap dump, a sampling of memory allocations of live objects #
GET /debug/pprof/profile Get pprof CPU profile #
GET /debug/pprof/symbol Get pprof program counters mapping to function names #
POST /debug/pprof/symbol Get pprof program counters mapping to function names #
GET /debug/pprof/threadcreate Get pprof stack traces that led to the creation of new OS threads #
GET /debug/pprof/trace Get a trace of execution of the current program #

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/woodpecker-ci-process-profiling-and-debugging-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

woodpecker-ci-process-profiling-and-debugging-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'Woodpecker is a simple, yet powerful CI/CD engine with great extensibility.

    To get a personal access token (PAT) for authentication, please log in your Woodpecker server,

    and go to you personal profile page, by clicking the user icon at the top right.'
  title: Woodpecker CI Process profiling and debugging API
  contact:
    name: Woodpecker CI
    url: https://woodpecker-ci.org/
  version: next-a4cb541b82
servers:
- url: https://ci.woodpecker-ci.org/api
tags:
- name: Process profiling and debugging
paths:
  /debug/pprof:
    get:
      description: Only available, when server was started with WOODPECKER_LOG_LEVEL=debug
      tags:
      - Process profiling and debugging
      summary: List available pprof profiles (HTML)
      parameters:
      - description: Insert your personal access token
        name: Authorization
        in: header
        required: true
        schema:
          type: string
          default: Bearer <personal access token>
      responses:
        '200':
          description: OK
      operationId: getDebugPprof
      x-operation-id-source: derived
  /debug/pprof/block:
    get:
      description: Only available, when server was started with WOODPECKER_LOG_LEVEL=debug
      tags:
      - Process profiling and debugging
      summary: Get pprof stack traces that led to blocking on synchronization primitives
      parameters:
      - description: Insert your personal access token
        name: Authorization
        in: header
        required: true
        schema:
          type: string
          default: Bearer <personal access token>
      responses:
        '200':
          description: OK
      operationId: getDebugPprofBlock
      x-operation-id-source: derived
  /debug/pprof/cmdline:
    get:
      description: Only available, when server was started with WOODPECKER_LOG_LEVEL=debug
      tags:
      - Process profiling and debugging
      summary: Get the command line invocation of the current program
      parameters:
      - description: Insert your personal access token
        name: Authorization
        in: header
        required: true
        schema:
          type: string
          default: Bearer <personal access token>
      responses:
        '200':
          description: OK
      operationId: getDebugPprofCmdline
      x-operation-id-source: derived
  /debug/pprof/goroutine:
    get:
      description: Only available, when server was started with WOODPECKER_LOG_LEVEL=debug
      tags:
      - Process profiling and debugging
      summary: Get pprof stack traces of all current goroutines
      parameters:
      - description: Insert your personal access token
        name: Authorization
        in: header
        required: true
        schema:
          type: string
          default: Bearer <personal access token>
      - description: Use debug=2 as a query parameter to export in the same format as an un-recovered panic
        name: debug
        in: query
        schema:
          type: integer
          default: 1
      responses:
        '200':
          description: OK
      operationId: getDebugPprofGoroutine
      x-operation-id-source: derived
  /debug/pprof/heap:
    get:
      description: Only available, when server was started with WOODPECKER_LOG_LEVEL=debug
      tags:
      - Process profiling and debugging
      summary: Get pprof heap dump, a sampling of memory allocations of live objects
      parameters:
      - description: Insert your personal access token
        name: Authorization
        in: header
        required: true
        schema:
          type: string
          default: Bearer <personal access token>
      - description: You can specify gc=heap to run GC before taking the heap sample
        name: gc
        in: query
        schema:
          type: string
          default: ''
      responses:
        '200':
          description: OK
      operationId: getDebugPprofHeap
      x-operation-id-source: derived
  /debug/pprof/profile:
    get:
      description: 'Only available, when server was started with WOODPECKER_LOG_LEVEL=debug

        After you get the profile file, use the go tool pprof command to investigate the profile.'
      tags:
      - Process profiling and debugging
      summary: Get pprof CPU profile
      parameters:
      - description: Insert your personal access token
        name: Authorization
        in: header
        required: true
        schema:
          type: string
          default: Bearer <personal access token>
      - description: You can specify the duration in the seconds GET parameter.
        name: seconds
        in: query
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: OK
      operationId: getDebugPprofProfile
      x-operation-id-source: derived
  /debug/pprof/symbol:
    get:
      description: 'Only available, when server was started with WOODPECKER_LOG_LEVEL=debug

        Looks up the program counters listed in the request,

        responding with a table mapping program counters to function names.

        The requested program counters can be provided via GET + query parameters,

        or POST + body parameters. Program counters shall be space delimited.'
      tags:
      - Process profiling and debugging
      summary: Get pprof program counters mapping to function names
      parameters:
      - description: Insert your personal access token
        name: Authorization
        in: header
        required: true
        schema:
          type: string
          default: Bearer <personal access token>
      responses:
        '200':
          description: OK
      operationId: getDebugPprofSymbol
      x-operation-id-source: derived
    post:
      description: 'Only available, when server was started with WOODPECKER_LOG_LEVEL=debug

        Looks up the program counters listed in the request,

        responding with a table mapping program counters to function names.

        The requested program counters can be provided via GET + query parameters,

        or POST + body parameters. Program counters shall be space delimited.'
      tags:
      - Process profiling and debugging
      summary: Get pprof program counters mapping to function names
      parameters:
      - description: Insert your personal access token
        name: Authorization
        in: header
        required: true
        schema:
          type: string
          default: Bearer <personal access token>
      responses:
        '200':
          description: OK
      operationId: postDebugPprofSymbol
      x-operation-id-source: derived
  /debug/pprof/threadcreate:
    get:
      description: Only available, when server was started with WOODPECKER_LOG_LEVEL=debug
      tags:
      - Process profiling and debugging
      summary: Get pprof stack traces that led to the creation of new OS threads
      parameters:
      - description: Insert your personal access token
        name: Authorization
        in: header
        required: true
        schema:
          type: string
          default: Bearer <personal access token>
      responses:
        '200':
          description: OK
      operationId: getDebugPprofThreadcreate
      x-operation-id-source: derived
  /debug/pprof/trace:
    get:
      description: 'Only available, when server was started with WOODPECKER_LOG_LEVEL=debug

        After you get the profile file, use the go tool pprof command to investigate the profile.'
      tags:
      - Process profiling and debugging
      summary: Get a trace of execution of the current program
      parameters:
      - description: Insert your personal access token
        name: Authorization
        in: header
        required: true
        schema:
          type: string
          default: Bearer <personal access token>
      - description: You can specify the duration in the seconds GET parameter.
        name: seconds
        in: query
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: OK
      operationId: getDebugPprofTrace
      x-operation-id-source: derived