Skip to content

Live API Reference

Interactive API documentation generated directly from the source code.


Interactive API Explorer

About This Reference

This Swagger UI is auto-generated from the OpenAPI specification. It always reflects the current state of the API.


Alternative Documentation Formats

  • ReDoc


    Clean, readable three-panel API reference.

    Open ReDoc

  • OpenAPI JSON


    Raw OpenAPI 3.0 specification for SDK generation.

    Download Spec


Generate Client SDKs

Use the OpenAPI spec to auto-generate client libraries:

pip install openapi-python-client
openapi-python-client generate --url https://api.tajirifarm.com/openapi.json
npx @openapitools/openapi-generator-cli generate \
  -i https://api.tajirifarm.com/openapi.json \
  -g typescript-fetch \
  -o ./tajiri-client
openapi-generator-cli generate \
  -i https://api.tajirifarm.com/openapi.json \
  -g java \
  -o ./tajiri-java-client
openapi-generator-cli generate \
  -i https://api.tajirifarm.com/openapi.json \
  -g go \
  -o ./tajiri-go-client

Schema Reference

All schemas are auto-generated from Pydantic models:

Schema Source File Description
DiagnosisResponse app/schemas/diagnosis.py Main response
DiagnosisDetail app/schemas/diagnosis.py Diagnosis hypothesis
Treatment app/schemas/diagnosis.py Treatment plan
BoundingBox app/schemas/diagnosis.py Detection coordinates

Single Source of Truth

When developers update the Pydantic models in the code, this documentation updates automatically. No manual sync required.