Lab results

One draw with its results

get/labs/draws/{id}

Request

  • Base URL: https://bodylab.lol/api/v1
  • URL: https://bodylab.lol/api/v1/labs/draws/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Opaque identifier.

Headers

X-Client-Platformstring

The native client's platform, e.g. ios. Server-side and non-native callers omit it.

X-Client-Versionstring

The native client's own semver version. With X-Client-Platform, a version below that platform's minimum is refused with CLIENT_UPGRADE_REQUIRED (426).

Response

OK

idstring required

Opaque identifier.

localDatestring date required

The day of the draw on the athlete's calendar.

collectedTimestring nullable required

HH:MM on the athlete's clock, where the report gave a time.

collectedAtstring date-time nullable required

An instant: ISO-8601 with offset, e.g. 2026-09-13T06:30:00Z.

labNamestring nullable required
fastingHoursnumber nullable required

Null: not answered.

recentIllnessboolean nullable required
ironSupplement10dboolean nullable required

Iron by mouth or infusion in the 10 days before.

biotinboolean nullable required
creatineboolean nullable required
hormoneMedicationboolean nullable required

Thyroid or sex-hormone medication, hormonal contraception included.

menstruatingboolean nullable required

false: no current cycle.

cycleDayinteger nullable required
altitudeMnumber nullable required

The altitude the athlete lived at, metres.

hoursSinceSessionnumber nullable required

Hours from the end of the athlete's last recorded session to the draw, worked out from their activities when read; null where it can't be told.

sourcestring required

How the draw was entered. Known values: manual. Treat unknown values as "other".

createdAtstring date-time required

An instant: ISO-8601 with offset, e.g. 2026-09-13T06:30:00Z.

updatedAtstring date-time required

An instant: ISO-8601 with offset, e.g. 2026-09-13T06:30:00Z.

Changes

No recorded changes to this operation across all 1 revision of this API.