For Research Use Only. Not for use in diagnostic procedures.Regulatory scope →

ResistAI / Docs

Documentation

Send a genome and an AST result, get a reconciled verdict. One endpoint, three file formats.

POST /v1/reconcileFASTA · VCF 4.2 · CSVRUO sandbox

Specification preview. This page documents the endpoint contract for pilot partners. The sandbox returns synthetic verdicts for the sample dataset.

Quickstart

Three steps from a new key to a first verdict.

1. Get a sandbox key

Complete the two-step pilot onboarding. Keys are prefixed rai_ruo_test_ and scoped to Research Use Only.

2. Set your environment

Your base URL is issued together with your sandbox key. The samples read it from RESISTAI_BASE_URL.

shell
export RESISTAI_API_KEY="rai_ruo_test_..."
export RESISTAI_BASE_URL="<issued with your key>"

3. Reconcile one isolate

Save the JSON example as request.json, then send it.

curl -X POST "$RESISTAI_BASE_URL/v1/reconcile" \
  -H "Authorization: Bearer $RESISTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d @request.json

POST/v1/reconcile

Compares the genotype of one isolate with its phenotypic results and returns a verdict for each agent. Authenticate with a bearer token.

Request body

FieldTypeRequiredDescription
sample_idstringYesLaboratory accession. Must not be a patient identifier.
organismstringYesBinomial name. Sets the breakpoint table rows.
breakpointsenumNoEUCAST_v14.0 (default) or CLSI_M100.
genotype.formatenumYesvcf or fasta.
genotype.uristringYesLocal file path on the edge node, or an inline upload reference.
phenotype[].agentstringYesAntimicrobial agent, lower case.
phenotype[].methodenumYesbroth-microdilution, gradient-strip or disk-diffusion.
phenotype[].mic_mg_per_lnumberNoRequired unless zone_mm is given.
phenotype[].zone_mmnumberNoRequired unless mic_mg_per_l is given.

Example request

curl -X POST "$RESISTAI_BASE_URL/v1/reconcile" \
  -H "Authorization: Bearer $RESISTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d @request.json

Example response

200 OK · application/json
{
  "sample_id": "DEMO-BSI-0147",
  "verdict": {
    "level": "flag",
    "headline": "Genotype R / phenotype S discrepancy",
    "agent": "meropenem",
    "phenotype": { "mic_mg_per_l": 0.25, "call": "S" },
    "genotype": { "predicted_call_bound": ">8 mg/L (category R)", "call": "R" },
    "gap_dilutions": 6,
    "workflow": "research_review_queue"
  },
  "evidence": [
    { "gene": "blaKPC-3", "call": "detected", "af": 0.98, "dp": 212 }
  ],
  "suggested_follow_up": "mCIM/eCIM to confirm carbapenemase activity, repeat MIC by reference broth microdilution (ISO 20776-1), PCR or re-sequencing to confirm the gene call, and population analysis profiling if heteroresistance is suspected",
  "use": "research-use-only"
}

The genotype predicts a category, not a measured MIC. predicted_call_bound is the breakpoint bound of the predicted category (EUCAST v14.0: R > 8 mg/L), not an MIC value.

Status codes

CodeMeaning
200Reconciled. A verdict is returned for every agent supplied.
400Malformed body, unknown organism or unsupported agent.
401Missing or invalid API key.
422Rejected at the schema boundary: a field looks like a patient identifier.
429Sandbox rate limit reached. Retry after the interval in the Retry-After header.

Supported file formats

Genotype is supplied as FASTA or VCF. Phenotype is supplied inline or as a CSV batch.

FASTA.fasta .fa .fna

Assembled contigs

Draft or complete assemblies. Genes and promoter regions are called directly from contigs. Mean depth must be supplied separately if known.

VCF 4.2.vcf .vcf.gz

Variant calls

Calls against a named reference. DP and AF must be present in INFO or FORMAT so low-confidence loci can be flagged.

CSV / AST.csv

Susceptibility results

One row per isolate and agent with columns sample_id, agent, method, and mic_mg_per_l or zone_mm. Instrument exports are mapped on import.

CSV / AST layout

ast-results.csv
sample_id,agent,method,mic_mg_per_l
DEMO-BSI-0147,meropenem,broth-microdilution,0.25
DEMO-SST-0392,oxacillin,broth-microdilution,2
DEMO-UTI-0811,meropenem,broth-microdilution,16
DEMO-VAP-0263,meropenem,broth-microdilution,1

Identifier-free ingestion and local edge deployment

Reconciliation can run on a node inside your laboratory network. The service is designed to reject direct patient identifiers at ingestion; patient information is never required. This is a design description, not independently verified security architecture.

Inside lab network
01

Sequencer and AST instrument

FASTA, VCF and AST exports stay on the laboratory network.

02

ResistAI edge node

Parses files, strips non-schema fields and rejects identifiers. Runs reconciliation locally.

Network boundary
03

De-identified verdict

Only accession ID, organism, calls and metrics may leave, and only if cloud sync is enabled.

Cloud, optional
04

Surveillance dashboard

Aggregated discrepancy trends for surveillance and research teams. Optional.

  • Schema rejection. Requests carrying fields that resemble names, dates of birth or record numbers fail with 422 before any processing.
  • Accession IDs only. Isolates are keyed by laboratory accession. Any re-linking to a patient happens in your own systems, outside ResistAI.
  • Offline by default. The edge node works without outbound access. Cloud sync of de-identified verdicts is opt-in.

This describes the system design. It is not a certification or a compliance attestation; your own data protection assessment still applies.

Investor Brief · summary

Making genotype–phenotype discrepancies visible for research review.

ResistAI is a Research Use Only reconciliation workflow for AMR research, surveillance, reference laboratories and pharma/CRO research teams. It compares whole-genome resistance calls with quantitative AST/MIC results and flags the isolates where they disagree.

Evidence to date · retrospective cohort

918BV-BRC K. pneumoniae isolates in the meropenem cohort
81.1%Genotype–phenotype concordance on 847 evaluable binary calls (EUCAST v14.0)
25.8%Discordance among 527 phenotypically susceptible calls (136 isolates)
160Discrepant isolates flagged for research review (136 + 24)

Retrospective analysis. Discordance is not a confirmed clinical false-susceptibility rate. Prospective, multi-site confirmation is planned.

Wedge → product

  • WedgeTeams already generating both WGS and quantitative AST data, with no traceable way to reconcile the two.
  • ProductBreakpoint-aware reconciliation (EUCAST v14.0 / CLSI M100) on NCBI AMRFinderPlus genotypes, with a research review queue and JSON / integration-ready HL7 FHIR export.
  • ModelPlatform subscription plus per-isolate API usage. Software only.

Roadmap

  • NowRUO SaaS & API for reference labs, surveillance programmes and pharma/CRO research.
  • 12–18 moProspective, multi-site confirmation; ESKAPE + E. coli validation.
  • LaterA regulatory pathway (FDA 510(k) / CE-IVD) only if prospective evidence supports it.

Founder contact

Parth Deoli · Founder
deoliparth18@gmail.com
Email the founder

For Research Use Only. Not for use in diagnostic procedures. Cohort figures come from public BV-BRC records; laboratory and computational MIC evidence are labelled separately.