{"openapi":"3.1.0","info":{"title":"Seismograph","version":"0.3.2"},"paths":{"/api/v1/contracts":{"post":{"summary":"Register Contract","operationId":"register_contract_api_v1_contracts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/runs":{"post":{"summary":"Execute Run","operationId":"execute_run_api_v1_runs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reports/{contract_name}":{"get":{"summary":"Report","operationId":"report_api_v1_reports__contract_name__get","parameters":[{"name":"contract_name","in":"path","required":true,"schema":{"type":"string","title":"Contract Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/demo":{"get":{"summary":"Demo","operationId":"demo_api_v1_demo_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"ContractIn":{"properties":{"yaml":{"type":"string","title":"Yaml"}},"type":"object","required":["yaml"],"title":"ContractIn"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"RunIn":{"properties":{"contract":{"type":"string","title":"Contract"},"sut":{"type":"string","title":"Sut","default":"stable"},"t":{"type":"integer","minimum":0.0,"title":"T","default":0},"seed":{"type":"integer","title":"Seed","default":7},"embedder":{"type":"string","pattern":"^(hashing|openrouter)$","title":"Embedder","default":"hashing"}},"type":"object","required":["contract"],"title":"RunIn"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}