Skip to content

API Reference

Machine-readable API reference generated from the FastAPI OpenAPI schema. For interactive exploration use Swagger UI at /docs.

Base URL

https://fileguardian.com.ru/api

Interactive documentation

URL Format
/docs Swagger UI
/redoc ReDoc
/openapi.json OpenAPI 3 JSON schema

Authentication

Most endpoints require a JWT Bearer token:

curl -H "Authorization: Bearer YOUR_TOKEN" https://fileguardian.com.ru/api/auth/me

Obtain a token via POST /api/auth/login.

Sections

Section Description
Authentication 11 endpoint(s)
Patients 5 endpoint(s)
Documents 8 endpoint(s)
DICOM 12 endpoint(s)
Analytics 1 endpoint(s)
Predictions 12 endpoint(s)
Export 10 endpoint(s)
Webhooks 7 endpoint(s)
Payments 6 endpoint(s)
Admin 38 endpoint(s)

Error format

{
  "detail": "Human-readable error message"
}

Common status codes

Code Meaning
400 Bad request / validation error
401 Not authenticated
403 Insufficient permissions
404 Resource not found
402 Plan limit exceeded (predictions)
422 Validation error (Pydantic)
500 Internal server error

Generated from OpenAPI 3.1.0 — 2026-07-10 08:52 UTC