InfluxData Debug API

Generate profiling and trace reports. Use routes under `/debug/pprof` to analyze the Go runtime of InfluxDB. These endpoints generate [Go runtime profiles](https://pkg.go.dev/runtime/pprof) and **trace** reports. **Profiles** are collections of stack traces that show call sequences leading to instances of a particular event, such as allocation. For more information about **pprof profile** and **trace** reports, see the following resources: - [Google pprof tool](https://github.com/google/pprof) - [Golang diagnostics](https://go.dev/doc/diagnostics)

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /debug/pprof/all Collect all runtime profiles · Retrieve all runtime profiles #
Ask an LLM
“How do I collect every runtime profile of an InfluxDB instance?”
“Can I get a CPU profile for a number of seconds?”
Tell an agent
Collect all runtime profiles.
Collect all profiles for {cpu} seconds.
GET /debug/pprof/allocs Get the memory allocations profile · Retrieve the memory allocations runtime profile #
Ask an LLM
“How do I see all past memory allocations in the server?”
“Is the allocs profile the same as the heap profile?”
Tell an agent
Get the memory allocations runtime profile.
Collect the allocs profile for {seconds} seconds.
GET /debug/pprof/block Get the goroutine blocking profile · Retrieve the block runtime profile #
Ask an LLM
“Which goroutines are blocked on synchronization primitives?”
“Can I profile stack traces that led to blocking?”
Tell an agent
Get the goroutine blocking runtime profile.
Collect the block profile for {seconds} seconds.
GET /debug/pprof/cmdline Get the command line that started InfluxDB · Retrieve the command line invocation #
Ask an LLM
“What command line invoked the InfluxDB process?”
“Can I read the process invocation for debugging?”
Tell an agent
Show the command line that started InfluxDB.
Get the process invocation command.
GET /debug/pprof/goroutine Get the goroutines profile · Retrieve the goroutines runtime profile #
Ask an LLM
“How many goroutines are running right now?”
“Can I profile all current goroutines?”
Tell an agent
Get the goroutines runtime profile.
Collect the goroutines profile for {seconds} seconds.
GET /debug/pprof/heap Get the heap allocations profile · Retrieve the heap runtime profile #
Ask an LLM
“How much memory is allocated to live objects?”
“Can I force a garbage collection before taking a heap profile?”
Tell an agent
Get the heap runtime profile.
Take a heap profile with garbage collection forced ({gc}).
GET /debug/pprof/mutex Get the mutex contention profile · Retrieve the mutual exclusion (mutex) runtime profile #
Ask an LLM
“Which mutexes are contended?”
“Can I see stack traces of mutex holders?”
Tell an agent
Get the mutex contention runtime profile.
Collect the mutex profile for {seconds} seconds.
GET /debug/pprof/profile Get the CPU profile · Retrieve the CPU runtime profile #
Ask an LLM
“How do I profile CPU usage on the server?”
“Can I collect CPU program counter samples for a set duration?”
Tell an agent
Get the CPU runtime profile.
Collect the CPU profile for {seconds} seconds.
GET /debug/pprof/threadcreate Get the thread creation profile · Retrieve the threadcreate runtime profile #
Ask an LLM
“Which goroutines created new OS threads?”
“Can I profile stack traces that led to thread creation?”
Tell an agent
Get the thread creation runtime profile.
Collect the threadcreate profile for {seconds} seconds.
GET /debug/pprof/trace Get the execution trace · Retrieve the runtime execution trace #
Ask an LLM
“Can I get a trace of execution events for the current program?”
“How do I collect trace events for a period of time?”
Tell an agent
Get the runtime execution trace.
Collect the execution trace for {seconds} seconds.

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/influxdata:influxdata-debug-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

influxdata-debug-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: InfluxDB OSS API Service Debug API
  version: 2.0.0
  description: The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint.
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
- url: /api/v2
security:
- TokenAuthentication: []
tags:


# --- truncated at 32 KB (33 KB total) ---
# Full source: https://artifacts.apis.io/influxdata/openapi/influxdata-debug-api-openapi.yml