{
  "openapi": "3.1.0",
  "info": {
    "title": "Ethotechnics read API",
    "version": "2026.01",
    "description": "Read-only JSON endpoints for the standards, clauses, mechanisms, casebook, validators, glossary, and evals published on ethotechnics.org. No authentication. Every response carries an ETag.",
    "license": {
      "name": "CC BY-SA 4.0",
      "url": "https://creativecommons.org/licenses/by-sa/4.0/"
    }
  },
  "servers": [
    {
      "url": "https://ethotechnics.org/api"
    }
  ],
  "externalDocs": {
    "url": "https://ethotechnics.org/api"
  },
  "paths": {
    "/agent-index.json": {
      "get": {
        "operationId": "getAgentIndex",
        "summary": "Index for agent discovery and tooling.",
        "responses": {
          "200": {
            "description": "Index for agent discovery and tooling.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/site-index.json": {
      "get": {
        "operationId": "getSiteIndex",
        "summary": "Index of standards, validators, and research metadata.",
        "responses": {
          "200": {
            "description": "Index of standards, validators, and research metadata.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/standards.json": {
      "get": {
        "operationId": "getStandards",
        "summary": "Standard metadata with embedded clause objects.",
        "responses": {
          "200": {
            "description": "Standard metadata with embedded clause objects.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/clauses.json": {
      "get": {
        "operationId": "getClauses",
        "summary": "Clause-level obligations with evidence requirements and mappings.",
        "responses": {
          "200": {
            "description": "Clause-level obligations with evidence requirements and mappings.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/mechanisms.json": {
      "get": {
        "operationId": "getMechanisms",
        "summary": "Mechanism catalog entries with filters and citations.",
        "responses": {
          "200": {
            "description": "Mechanism catalog entries with filters and citations.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/casebook.json": {
      "get": {
        "operationId": "getCasebook",
        "summary": "Casebook cases with their six safeguard scores, time to halt, and primary sources.",
        "responses": {
          "200": {
            "description": "Casebook cases with their six safeguard scores, time to halt, and primary sources.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/validators.json": {
      "get": {
        "operationId": "getValidators",
        "summary": "Validator definitions with inputs, thresholds, and clause mappings.",
        "responses": {
          "200": {
            "description": "Validator definitions with inputs, thresholds, and clause mappings.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/glossary.json": {
      "get": {
        "operationId": "getGlossary",
        "summary": "Glossary terms with permalinks.",
        "responses": {
          "200": {
            "description": "Glossary terms with permalinks.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/anti-patterns.json": {
      "get": {
        "operationId": "getAntiPatterns",
        "summary": "Negative patterns that surface legitimacy theater risks.",
        "responses": {
          "200": {
            "description": "Negative patterns that surface legitimacy theater risks.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/evidence-packs.json": {
      "get": {
        "operationId": "getEvidencePacks",
        "summary": "Evidence pack templates per clause.",
        "responses": {
          "200": {
            "description": "Evidence pack templates per clause.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/crosswalks.json": {
      "get": {
        "operationId": "getCrosswalks",
        "summary": "Control crosswalks with framework mappings and evidence artifacts.",
        "responses": {
          "200": {
            "description": "Control crosswalks with framework mappings and evidence artifacts.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/post-market-monitoring.json": {
      "get": {
        "operationId": "getPostMarketMonitoring",
        "summary": "Post-market monitoring and incident reporting workflow stages.",
        "responses": {
          "200": {
            "description": "Post-market monitoring and incident reporting workflow stages.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/findings.json": {
      "get": {
        "operationId": "getFindings",
        "summary": "Canonical finding objects for remediation workflows.",
        "responses": {
          "200": {
            "description": "Canonical finding objects for remediation workflows.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/diagnostic-results.json": {
      "get": {
        "operationId": "getDiagnosticResults",
        "summary": "Portable diagnostic result artifacts.",
        "responses": {
          "200": {
            "description": "Portable diagnostic result artifacts.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/eval-test-cases.json": {
      "get": {
        "operationId": "getEvalTestCases",
        "summary": "Eval test cases with scoring rubrics and suite assignments.",
        "responses": {
          "200": {
            "description": "Eval test cases with scoring rubrics and suite assignments.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/evals.json": {
      "get": {
        "operationId": "getEvals",
        "summary": "Eval suites with scoring methods and passing thresholds.",
        "responses": {
          "200": {
            "description": "Eval suites with scoring methods and passing thresholds.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/rag-corpus.jsonl": {
      "get": {
        "operationId": "getRagCorpus",
        "summary": "JSONL corpus for retrieval pipelines. Every document carries a layer field: theory, method, or instrument. Add a limit query param for previews.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Return at most this many lines.",
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JSONL corpus for retrieval pipelines. Every document carries a layer field: theory, method, or instrument. Add a limit query param for previews.",
            "content": {
              "application/x-ndjson": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/research.json": {
      "get": {
        "operationId": "getResearch",
        "summary": "Research publications and bridge artifacts.",
        "responses": {
          "200": {
            "description": "Research publications and bridge artifacts.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/capabilities.json": {
      "get": {
        "operationId": "getCapabilities",
        "summary": "Example capability catalog: what the worked-example agent can reach, with no permission fields.",
        "responses": {
          "200": {
            "description": "Example capability catalog: what the worked-example agent can reach, with no permission fields.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/grants.json": {
      "get": {
        "operationId": "getGrants",
        "summary": "Example authority grant with scope, evidence basis, and state history including a narrowing.",
        "responses": {
          "200": {
            "description": "Example authority grant with scope, evidence basis, and state history including a narrowing.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/policies.json": {
      "get": {
        "operationId": "getPolicies",
        "summary": "Example policy record with review triggers and expiry.",
        "responses": {
          "200": {
            "description": "Example policy record with review triggers and expiry.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/dependencies.json": {
      "get": {
        "operationId": "getDependencies",
        "summary": "Example dependency record with three-level reversibility and exposure score.",
        "responses": {
          "200": {
            "description": "Example dependency record with three-level reversibility and exposure score.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/standing.json": {
      "get": {
        "operationId": "getStanding",
        "summary": "Example standing register with its challenge and the reconsideration it triggered.",
        "responses": {
          "200": {
            "description": "Example standing register with its challenge and the reconsideration it triggered.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/interventions.json": {
      "get": {
        "operationId": "getInterventions",
        "summary": "Example intervention spec: what the steward can see, prevent, and alter.",
        "responses": {
          "200": {
            "description": "Example intervention spec: what the steward can see, prevent, and alter.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/substrate-profiles.json": {
      "get": {
        "operationId": "getSubstrateProfiles",
        "summary": "Example substrate profile with the 2.0.0 agent safety object model attached.",
        "responses": {
          "200": {
            "description": "Example substrate profile with the 2.0.0 agent safety object model attached.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/releases.json": {
      "get": {
        "operationId": "getReleases",
        "summary": "Versioned release index for stable citations.",
        "responses": {
          "200": {
            "description": "Versioned release index for stable citations.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/changelog.json": {
      "get": {
        "operationId": "getChangelog",
        "summary": "Merged changelog entries for mechanisms and research.",
        "responses": {
          "200": {
            "description": "Merged changelog entries for mechanisms and research.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    },
    "/badges.json": {
      "get": {
        "operationId": "getBadges",
        "summary": "Repository badges for CI status and license.",
        "responses": {
          "200": {
            "description": "Repository badges for CI status and license.",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "The If-None-Match ETag still matches."
          }
        }
      }
    }
  }
}