Skip to content
Cockpit0.29.0
A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live

graph.list

List graphs

What it is

Every graph this executable derives: its id, what it shows, and what it is derived from.

Descriptor

Canonical id
graph.list
Module
graph
Kind
query
Stability
behaviorallyverified
Provenance
declared
Source
apps/majordomus-cli/src/capability/builtin/graph.rs
Cache
disabled
Benchmark
required
Tags
graphintrospection

Run

query
A query. It reads and changes nothing.

This capability takes no input.

GET /api/v1/graphs

Projections

InterfaceAsWhere
MCP toolmajordomus_graphs-
MCP resourcemajordomus://graphs-
HTTPGET /api/v1/graphsSwagger
Command linenot exposed-

Schemas

Input · Empty
{
  "type": "object",
  "additionalProperties": false,
  "description": "No input.",
  "title": "Empty"
}
Output · GraphList
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "format": "uint",
      "minimum": 0,
      "description": "How many."
    },
    "graphs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GraphInfo"
      },
      "description": "Each, described but not derived."
    }
  },
  "required": [
    "count",
    "graphs"
  ],
  "description": "Every graph this executable derives.",
  "title": "GraphList",
  "$defs": {
    "GraphInfo": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The identity."
        },
        "title": {
          "type": "string",
          "description": "The short name."
        },
        "description": {
          "type": "string",
          "description": "One paragraph."
        },
        "source": {
          "type": "string",
          "description": "What it is derived from."
        }
      },
      "required": [
        "id",
        "title",
        "description",
        "source"
      ],
      "description": "One graph the executable can derive: what it is, without deriving it."
    }
  }
}

Examples

These are the capability's own benchmark cases: the same inputs the benchmark runs and the OpenAPI document shows.

default
{}