{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "api-get-api-bootstrap",
  "title": "GET /api/bootstrap",
  "section": "HTTP endpoint reference",
  "description": "GET /api/bootstrap",
  "kind": "api",
  "url": "/wiki/api-get-api-bootstrap/",
  "markdown": "/wiki/api-get-api-bootstrap/index.md",
  "json": "/wiki/api-get-api-bootstrap/index.json",
  "headings": [
    {
      "id": "contract",
      "title": "Contract",
      "depth": 2
    },
    {
      "id": "request",
      "title": "Request",
      "depth": 2
    },
    {
      "id": "response",
      "title": "Response",
      "depth": 2
    },
    {
      "id": "guard",
      "title": "Guard",
      "depth": 2
    },
    {
      "id": "use-this-endpoint",
      "title": "Use this endpoint",
      "depth": 2
    }
  ],
  "sources": [
    "server/index.ts"
  ],
  "contract": {
    "method": "GET",
    "path": "/api/bootstrap",
    "description": "GET /api/bootstrap",
    "request": {
      "path": [],
      "query": [
        "view"
      ],
      "body": []
    },
    "response": {
      "statuses": [],
      "fields": [
        "definitions",
        "libraryFolders",
        "libraryMetadata",
        "libraryPacks",
        "runs",
        "secrets",
        "settings",
        "workflows",
        "workspaceLibraries",
        "workspaces"
      ]
    },
    "source": {
      "file": "server/index.ts",
      "line": 445
    },
    "contract": "`{workspaces, definitions, workflows, runs, secrets, settings, libraryFolders, libraryMetadata}` — Latest definition version per ID; newest 100 runs; secret names/times and separate organization records",
    "guard": "Trusted-host Host/Origin boundary; per-route revision, version and validation checks apply."
  }
}
