Interested in joining a scientific study?Learn more

Core API

Decode Symptoms API

Available

Decode Symptoms structures free-text, image or voice symptom reports into consistent symptom events with labels, intensity and timing context.

POST/functions/v1/decode_symptoms

Inputs

  • symptomText, symptomImage or symptomVoice
  • Optional timing fields such as timezone and reported_time

Returns

  • Structured symptom labels
  • Intensity and duration fields where available
  • Timing metadata and clarification status

Request JSON

{
  "symptomText": "Felt bloated and tired about two hours after dinner",
  "timezone": "Europe/Berlin"
}

Response JSON

{
  "job_id": "cb08a1...",
  "status": "queued",
  "status_url": "https://tirqjzahcinadeulfylj.supabase.co/functions/v1/decode_symptoms?job_id=cb08a1..."
}
curl -X POST 'https://tirqjzahcinadeulfylj.supabase.co/functions/v1/decode_symptoms' \
  -H 'x-api-key: $MYMOLECULES_API_KEY' \
  -H 'Content-Type: application/json' \
  --data '{  "symptomText": "Felt bloated and tired about two hours after dinner",  "timezone": "Europe/Berlin"}'