{"openapi":"3.1.0","info":{"title":"Sinuosity Public API","summary":"Public access to Sinuosity datasets, provenance, benchmarks and bounded model screening.","description":"The Sinuosity Public API exposes published physical-intelligence artifacts with explicit license, citation, provenance and safety boundaries. Dataset access does not imply complete national coverage or blanket rights over third-party sources. Model screening never returns treatment, pesticide or dosage advice.","contact":{"name":"Sinuosity Physical Intelligence Lab","url":"https://www.sinuosity.ai/developers","email":"hello@sinuosity.ai"},"version":"1.1.0"},"servers":[{"url":"https://www.sinuosity.ai/api","description":"Live website proxy"},{"url":"https://api.sinuosity.ai","description":"Canonical API hostname after DNS verification"}],"paths":{"/v1":{"get":{"tags":["System"],"summary":"Discover the v1 API","operationId":"discovery_v1_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceDiscovery"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/health":{"get":{"tags":["System"],"summary":"Check service readiness","operationId":"health_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/releases":{"get":{"tags":["Catalog"],"summary":"List published releases","operationId":"releases_v1_releases_get","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleasePage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"x-required-scopes":["catalog:read"]}},"/v1/datasets":{"get":{"tags":["Datasets"],"summary":"List published datasets","operationId":"datasets_v1_datasets_get","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"x-required-scopes":["catalog:read"]}},"/v1/datasets/{dataset_id}":{"get":{"tags":["Datasets"],"summary":"Get dataset metadata","operationId":"dataset_v1_datasets__dataset_id__get","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetDetail"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"x-required-scopes":["catalog:read"]}},"/v1/datasets/{dataset_id}/files":{"get":{"tags":["Datasets"],"summary":"List dataset files and download links","operationId":"dataset_files_v1_datasets__dataset_id__files_get","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetFilePage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"x-required-scopes":["datasets:read"]}},"/v1/datasets/{dataset_id}/schema":{"get":{"tags":["Datasets"],"summary":"Inspect dataset schemas","operationId":"dataset_schema_v1_datasets__dataset_id__schema_get","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetSchemaResponse"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"x-required-scopes":["datasets:read"]}},"/v1/datasets/{dataset_id}/provenance":{"get":{"tags":["Datasets"],"summary":"Inspect source provenance and rights","operationId":"dataset_provenance_v1_datasets__dataset_id__provenance_get","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvenanceResponse"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"x-required-scopes":["datasets:read"]}},"/v1/crop-observations":{"get":{"tags":["Datasets"],"summary":"Query normalized crop observations","operationId":"crop_observations_v1_crop_observations_get","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"crop","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crop"}},{"name":"metric","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metric"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},{"name":"min_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2100,"minimum":1900},{"type":"null"}],"title":"Min Year"}},{"name":"max_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2100,"minimum":1900},{"type":"null"}],"title":"Max Year"}},{"name":"region","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"}},{"name":"district","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"District"}},{"name":"quality_flag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quality Flag"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CropObservationPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"x-required-scopes":["datasets:read"]}},"/v1/ghana-ag-bench/tasks":{"get":{"tags":["Benchmarks"],"summary":"List GhanaAgBench tasks","operationId":"bench_tasks_v1_ghana_ag_bench_tasks_get","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BenchTaskPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"x-required-scopes":["catalog:read"]}},"/v1/ghana-ag-bench/rows":{"get":{"tags":["Benchmarks"],"summary":"Query GhanaAgBench rows","operationId":"bench_rows_v1_ghana_ag_bench_rows_get","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"split","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Split"}},{"name":"crop","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crop"}},{"name":"region","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"}},{"name":"district","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"District"}},{"name":"min_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2100,"minimum":1900},{"type":"null"}],"title":"Min Year"}},{"name":"max_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2100,"minimum":1900},{"type":"null"}],"title":"Max Year"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BenchRowPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"x-required-scopes":["datasets:read"]}},"/v1/models":{"get":{"tags":["Models"],"summary":"List published model records","operationId":"models_v1_models_get","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelPage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"x-required-scopes":["catalog:read"]}},"/v1/models/{model_id}":{"get":{"tags":["Models"],"summary":"Get a model manifest and safety boundary","operationId":"model_v1_models__model_id__get","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelDetail"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service Unavailable"}},"x-required-scopes":["catalog:read"]}},"/v1/models/okuafo-maizeguard-edge-v1-4/screen":{"post":{"tags":["Models"],"summary":"Screen one maize-leaf image","description":"Returns bounded screening support for human review. Uploaded images are not stored by default. The response never includes treatment, pesticide product, dosage or autonomous agronomy advice.","operationId":"screen_maize_v1_models_okuafo_maizeguard_edge_v1_4_screen_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_screen_maize_v1_models_okuafo_maizeguard_edge_v1_4_screen_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScreeningResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"x-required-scopes":["models:infer"]}},"/v1/models/okuafo-cassavaguard-edge-v1-0/screen":{"post":{"tags":["Models"],"summary":"Screen one cassava image","description":"Runs the checksum-verified CassavaGuard v1.0 relevance gate and six-class visual screen for independent evaluation and human review. Uploaded images are not stored by default. The response never includes treatment, pesticide product, dosage or autonomous agronomy advice.","operationId":"screen_cassava_v1_models_okuafo_cassavaguard_edge_v1_0_screen_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_screen_cassava_v1_models_okuafo_cassavaguard_edge_v1_0_screen_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScreeningResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"x-required-scopes":["models:infer"]}}},"components":{"schemas":{"BenchRow":{"properties":{"benchmark_record_id":{"type":"string","title":"Benchmark Record Id"},"dataset_id":{"type":"string","title":"Dataset Id"},"source_record_id":{"type":"string","title":"Source Record Id"},"split":{"type":"string","title":"Split"},"country_iso3":{"type":"string","title":"Country Iso3"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"region":{"type":"string","title":"Region"},"district":{"type":"string","title":"District"},"crop":{"type":"string","title":"Crop"},"area_ha":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Area Ha"},"yield_mt_per_ha":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Yield Mt Per Ha"},"production_mt":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Production Mt"},"source_file":{"type":"string","title":"Source File"},"source_file_sha256":{"type":"string","title":"Source File Sha256"},"provenance_uri":{"type":"string","title":"Provenance Uri"}},"additionalProperties":false,"type":"object","required":["benchmark_record_id","dataset_id","source_record_id","split","country_iso3","year","region","district","crop","area_ha","yield_mt_per_ha","production_mt","source_file","source_file_sha256","provenance_uri"],"title":"BenchRow"},"BenchRowPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/BenchRow"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/Pagination"},"filters":{"additionalProperties":true,"type":"object","title":"Filters"},"citation_required":{"type":"boolean","title":"Citation Required","default":true},"license_name":{"type":"string","title":"License Name"},"citation":{"type":"string","title":"Citation"},"redistribution_notes":{"type":"string","title":"Redistribution Notes"}},"additionalProperties":false,"type":"object","required":["data","pagination","filters","license_name","citation","redistribution_notes"],"title":"BenchRowPage"},"BenchTask":{"properties":{"task_id":{"type":"string","title":"Task Id"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"row_count":{"type":"integer","title":"Row Count"},"splits":{"items":{"type":"string"},"type":"array","title":"Splits"},"source_dataset_id":{"type":"string","title":"Source Dataset Id"},"license_name":{"type":"string","title":"License Name"},"hf_url":{"type":"string","title":"Hf Url"}},"additionalProperties":false,"type":"object","required":["task_id","title","description","row_count","splits","source_dataset_id","license_name","hf_url"],"title":"BenchTask"},"BenchTaskPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/BenchTask"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":false,"type":"object","required":["data","pagination"],"title":"BenchTaskPage"},"Body_screen_cassava_v1_models_okuafo_cassavaguard_edge_v1_0_screen_post":{"properties":{"image":{"type":"string","contentMediaType":"application/octet-stream","title":"Image"}},"type":"object","required":["image"],"title":"Body_screen_cassava_v1_models_okuafo_cassavaguard_edge_v1_0_screen_post"},"Body_screen_maize_v1_models_okuafo_maizeguard_edge_v1_4_screen_post":{"properties":{"image":{"type":"string","contentMediaType":"application/octet-stream","title":"Image"}},"type":"object","required":["image"],"title":"Body_screen_maize_v1_models_okuafo_maizeguard_edge_v1_4_screen_post"},"CropObservation":{"properties":{"record_id":{"type":"string","title":"Record Id"},"dataset_id":{"type":"string","title":"Dataset Id"},"source_record_id":{"type":"string","title":"Source Record Id"},"country_iso3":{"type":"string","title":"Country Iso3"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"region":{"type":"string","title":"Region"},"district":{"type":"string","title":"District"},"crop":{"type":"string","title":"Crop"},"metric":{"type":"string","title":"Metric"},"metric_name":{"type":"string","title":"Metric Name"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"unit":{"type":"string","title":"Unit"},"quality_flags":{"type":"string","title":"Quality Flags"},"validation_status":{"type":"string","title":"Validation Status"},"confidence":{"type":"string","title":"Confidence"},"license_id":{"type":"string","title":"License Id"},"provenance_uri":{"type":"string","title":"Provenance Uri"}},"additionalProperties":false,"type":"object","required":["record_id","dataset_id","source_record_id","country_iso3","year","region","district","crop","metric","metric_name","value","unit","quality_flags","validation_status","confidence","license_id","provenance_uri"],"title":"CropObservation"},"CropObservationPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/CropObservation"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/Pagination"},"filters":{"additionalProperties":true,"type":"object","title":"Filters"},"citation_required":{"type":"boolean","title":"Citation Required","default":true},"license_name":{"type":"string","title":"License Name"},"citation":{"type":"string","title":"Citation"},"redistribution_notes":{"type":"string","title":"Redistribution Notes"}},"additionalProperties":false,"type":"object","required":["data","pagination","filters","license_name","citation","redistribution_notes"],"title":"CropObservationPage"},"DatasetDetail":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"title":{"type":"string","title":"Title"},"repo_id":{"type":"string","title":"Repo Id"},"version":{"type":"string","title":"Version"},"status":{"type":"string","title":"Status"},"summary":{"type":"string","title":"Summary"},"hf_url":{"type":"string","title":"Hf Url"},"license_name":{"type":"string","title":"License Name"},"citation":{"type":"string","title":"Citation"},"row_count":{"type":"integer","title":"Row Count"},"file_count":{"type":"integer","title":"File Count"},"registry_rows":{"type":"integer","title":"Registry Rows"},"source_payloads":{"type":"integer","title":"Source Payloads"},"benchmark_rows":{"type":"integer","title":"Benchmark Rows"},"redistribution_notes":{"type":"string","title":"Redistribution Notes"},"access_notes":{"type":"string","title":"Access Notes"},"links":{"items":{"$ref":"#/components/schemas/Link"},"type":"array","title":"Links"}},"additionalProperties":false,"type":"object","required":["dataset_id","title","repo_id","version","status","summary","hf_url","license_name","citation","row_count","file_count","registry_rows","source_payloads","benchmark_rows","redistribution_notes","access_notes"],"title":"DatasetDetail"},"DatasetFile":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"path":{"type":"string","title":"Path"},"role":{"type":"string","title":"Role"},"size_bytes":{"type":"integer","title":"Size Bytes"},"sha256":{"type":"string","title":"Sha256"},"download_url":{"type":"string","title":"Download Url"}},"additionalProperties":false,"type":"object","required":["dataset_id","path","role","size_bytes","sha256","download_url"],"title":"DatasetFile"},"DatasetFilePage":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"license_name":{"type":"string","title":"License Name"},"citation":{"type":"string","title":"Citation"},"redistribution_notes":{"type":"string","title":"Redistribution Notes"},"data":{"items":{"$ref":"#/components/schemas/DatasetFile"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":false,"type":"object","required":["dataset_id","license_name","citation","redistribution_notes","data","pagination"],"title":"DatasetFilePage"},"DatasetPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/DatasetSummary"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":false,"type":"object","required":["data","pagination"],"title":"DatasetPage"},"DatasetSchemaResponse":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"license_name":{"type":"string","title":"License Name"},"citation":{"type":"string","title":"Citation"},"redistribution_notes":{"type":"string","title":"Redistribution Notes"},"schemas":{"additionalProperties":true,"type":"object","title":"Schemas"}},"additionalProperties":false,"type":"object","required":["dataset_id","license_name","citation","redistribution_notes","schemas"],"title":"DatasetSchemaResponse"},"DatasetSummary":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"title":{"type":"string","title":"Title"},"repo_id":{"type":"string","title":"Repo Id"},"version":{"type":"string","title":"Version"},"status":{"type":"string","title":"Status"},"summary":{"type":"string","title":"Summary"},"hf_url":{"type":"string","title":"Hf Url"},"license_name":{"type":"string","title":"License Name"},"citation":{"type":"string","title":"Citation"},"row_count":{"type":"integer","title":"Row Count"},"file_count":{"type":"integer","title":"File Count"},"registry_rows":{"type":"integer","title":"Registry Rows"},"source_payloads":{"type":"integer","title":"Source Payloads"},"benchmark_rows":{"type":"integer","title":"Benchmark Rows"},"redistribution_notes":{"type":"string","title":"Redistribution Notes"}},"additionalProperties":false,"type":"object","required":["dataset_id","title","repo_id","version","status","summary","hf_url","license_name","citation","row_count","file_count","registry_rows","source_payloads","benchmark_rows","redistribution_notes"],"title":"DatasetSummary"},"ErrorResponse":{"properties":{"error":{"type":"string","title":"Error"},"message":{"type":"string","title":"Message"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"},"details":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Details"}},"additionalProperties":false,"type":"object","required":["error","message"],"title":"ErrorResponse"},"HealthResponse":{"properties":{"status":{"type":"string","enum":["ready","degraded"],"title":"Status"},"service":{"type":"string","title":"Service"},"version":{"type":"string","title":"Version"},"index_available":{"type":"boolean","title":"Index Available"},"model_inference_available":{"type":"boolean","title":"Model Inference Available"},"model_runtimes":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Model Runtimes"},"auth_required":{"type":"boolean","title":"Auth Required"},"docs_url":{"type":"string","title":"Docs Url"},"generated_at":{"type":"string","title":"Generated At"}},"additionalProperties":false,"type":"object","required":["status","service","version","index_available","model_inference_available","auth_required","docs_url","generated_at"],"title":"HealthResponse"},"Link":{"properties":{"label":{"type":"string","title":"Label"},"href":{"type":"string","title":"Href"}},"additionalProperties":false,"type":"object","required":["label","href"],"title":"Link"},"ModelDetail":{"properties":{"model_id":{"type":"string","title":"Model Id"},"name":{"type":"string","title":"Name"},"version":{"type":"string","title":"Version"},"status":{"type":"string","title":"Status"},"hf_url":{"type":"string","title":"Hf Url"},"runtime":{"type":"string","title":"Runtime"},"inference_available":{"type":"boolean","title":"Inference Available"},"safety_boundary":{"type":"string","title":"Safety Boundary"},"license_status":{"type":"string","title":"License Status"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"},"manifest":{"additionalProperties":true,"type":"object","title":"Manifest"}},"additionalProperties":false,"type":"object","required":["model_id","name","version","status","hf_url","runtime","inference_available","safety_boundary","license_status","warnings","manifest"],"title":"ModelDetail"},"ModelPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ModelSummary"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":false,"type":"object","required":["data","pagination"],"title":"ModelPage"},"ModelSummary":{"properties":{"model_id":{"type":"string","title":"Model Id"},"name":{"type":"string","title":"Name"},"version":{"type":"string","title":"Version"},"status":{"type":"string","title":"Status"},"hf_url":{"type":"string","title":"Hf Url"},"runtime":{"type":"string","title":"Runtime"},"inference_available":{"type":"boolean","title":"Inference Available"},"safety_boundary":{"type":"string","title":"Safety Boundary"}},"additionalProperties":false,"type":"object","required":["model_id","name","version","status","hf_url","runtime","inference_available","safety_boundary"],"title":"ModelSummary"},"Pagination":{"properties":{"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"},"returned":{"type":"integer","title":"Returned"},"total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total"}},"additionalProperties":false,"type":"object","required":["limit","offset","next_offset","returned"],"title":"Pagination"},"ProvenanceRecord":{"properties":{"record_id":{"type":"string","title":"Record Id"},"dataset_id":{"type":"string","title":"Dataset Id"},"source_dataset_id":{"type":"string","title":"Source Dataset Id"},"title":{"type":"string","title":"Title"},"publisher":{"type":"string","title":"Publisher"},"data_domains":{"type":"string","title":"Data Domains"},"crops":{"type":"string","title":"Crops"},"access_class":{"type":"string","title":"Access Class"},"redistribution_allowed":{"type":"boolean","title":"Redistribution Allowed"},"status":{"type":"string","title":"Status"},"status_reason":{"type":"string","title":"Status Reason"},"source_url":{"type":"string","title":"Source Url"},"api_url":{"type":"string","title":"Api Url"},"license_name":{"type":"string","title":"License Name"},"sensitivity_class":{"type":"string","title":"Sensitivity Class"}},"additionalProperties":false,"type":"object","required":["record_id","dataset_id","source_dataset_id","title","publisher","data_domains","crops","access_class","redistribution_allowed","status","status_reason","source_url","api_url","license_name","sensitivity_class"],"title":"ProvenanceRecord"},"ProvenanceResponse":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"license_name":{"type":"string","title":"License Name"},"citation":{"type":"string","title":"Citation"},"redistribution_notes":{"type":"string","title":"Redistribution Notes"},"records":{"items":{"$ref":"#/components/schemas/ProvenanceRecord"},"type":"array","title":"Records"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":false,"type":"object","required":["dataset_id","license_name","citation","redistribution_notes","records","pagination"],"title":"ProvenanceResponse"},"ReleasePage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ReleaseSummary"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":false,"type":"object","required":["data","pagination"],"title":"ReleasePage"},"ReleaseSummary":{"properties":{"release_id":{"type":"string","title":"Release Id"},"title":{"type":"string","title":"Title"},"version":{"type":"string","title":"Version"},"status":{"type":"string","title":"Status"},"artifact_type":{"type":"string","enum":["dataset_collection","model"],"title":"Artifact Type"},"url":{"type":"string","title":"Url"},"evidence_boundary":{"type":"string","title":"Evidence Boundary"}},"additionalProperties":false,"type":"object","required":["release_id","title","version","status","artifact_type","url","evidence_boundary"],"title":"ReleaseSummary"},"ScreeningResponse":{"properties":{"model_id":{"type":"string","title":"Model Id"},"model_version":{"type":"string","title":"Model Version"},"status":{"type":"string","enum":["screened","uncertain","unavailable"],"title":"Status"},"screening_result":{"type":"string","title":"Screening Result"},"confidence_band":{"type":"string","enum":["high","medium","low","not_available"],"title":"Confidence Band"},"probabilities":{"additionalProperties":{"type":"number"},"type":"object","title":"Probabilities"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"},"intended_use":{"type":"string","title":"Intended Use"},"request_id":{"type":"string","title":"Request Id"},"image_stored":{"type":"boolean","title":"Image Stored","default":false},"advice_provided":{"type":"boolean","title":"Advice Provided","default":false}},"additionalProperties":false,"type":"object","required":["model_id","model_version","status","screening_result","confidence_band","warnings","intended_use","request_id"],"title":"ScreeningResponse"},"ServiceDiscovery":{"properties":{"service":{"type":"string","title":"Service"},"version":{"type":"string","title":"Version"},"status":{"type":"string","enum":["ready","degraded"],"title":"Status"},"canonical_base_url":{"type":"string","title":"Canonical Base Url"},"live_base_url":{"type":"string","title":"Live Base Url"},"docs_url":{"type":"string","title":"Docs Url"},"openapi_url":{"type":"string","title":"Openapi Url"},"authentication":{"type":"string","title":"Authentication"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"resources":{"items":{"$ref":"#/components/schemas/ServiceResource"},"type":"array","title":"Resources"},"safety_boundary":{"type":"string","title":"Safety Boundary"}},"additionalProperties":false,"type":"object","required":["service","version","status","canonical_base_url","live_base_url","docs_url","openapi_url","authentication","scopes","resources","safety_boundary"],"title":"ServiceDiscovery"},"ServiceResource":{"properties":{"label":{"type":"string","title":"Label"},"path":{"type":"string","title":"Path"},"method":{"type":"string","enum":["GET","POST"],"title":"Method"},"required_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Required Scope"}},"additionalProperties":false,"type":"object","required":["label","path","method"],"title":"ServiceResource"}},"securitySchemes":{"BearerAuth":{"type":"http","description":"Sinuosity API key sent as a bearer token.","scheme":"bearer"},"ApiKeyAuth":{"type":"apiKey","description":"Alternative API-key header for environments that cannot set Authorization.","in":"header","name":"X-API-Key"}}},"tags":[{"name":"System","description":"Service discovery, health and operational metadata."},{"name":"Catalog","description":"Published release records."},{"name":"Datasets","description":"Licensed data, schemas, files, provenance and observations."},{"name":"Benchmarks","description":"GhanaAgBench tasks and reproducible split rows."},{"name":"Models","description":"Published model metadata and bounded screening."}]}