Skip to main content
The MedLog API is a set of write-once event endpoints. A collector accepts events but never returns record contents — each call appends one schema-compliant message that is later assembled into a complete record. The interactive endpoint pages in this section are generated directly from the OpenAPI specification.

Authentication

All endpoints require an API key passed in the X-API-Key header.

Endpoints

Each endpoint records one part of a MedLog record:
Select an endpoint in the sidebar to see its full schema and try it against a server using the built-in API playground.

The event model

Every event extends a shared BaseEvent and adds an event-specific payload. The base fields carry identity and linkage: The first event (inference-start) additionally carries the model instance, user and target identities, and inputs. Later events carry a single typed payload — an artifact, output, outcome, or feedback object. See the record fields for the conceptual model behind these payloads.

Responses

Error responses return an Error object with a message, and optionally a code and details.