Experiments

Explicitly enroll the subject into an experiment

Idempotent. Used both by the authenticated app and the unauthenticated funnel (the latter must pass firebaseUid in the body).

post/v1/experiments/{key}/enroll

Request

  • Base URL
    https://api.miaai.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://api.miaai.chat/v1/experiments/{key}/enroll
  • Auth
    HTTP bearer

Path parameters

keystring required

Request body

firebaseUidstring nullable

Required when the request is unauthenticated (funnel). Ignored when the caller is authenticated — the UID is taken from the auth context.

contextobject nullable

Free-form metadata about the trigger event.

Response

variantIdstring nullable required
assignedAtstring date-time nullable

Changes

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