GuideLab Docs

Cronologia: list activity rows for an order

Returns activity rows ordered by createdAt DESC, with the actor resolved for display. Powers the order History rail and acts as the source of truth for the per-phase-visit done-ness calculation. Clinic callers receive only clinic-safe event types, never activity notes, and never lab-only fields inside an order_updated change list.

GET
/production/orders/{id}/activity

Returns activity rows ordered by createdAt DESC, with the actor resolved for display. Powers the order History rail and acts as the source of truth for the per-phase-visit done-ness calculation. Clinic callers receive only clinic-safe event types, never activity notes, and never lab-only fields inside an order_updated change list.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Path Parameters

id*string

Query Parameters

eventType?string

Value in

  • "task_fired"
  • "task_review_event"
  • "status_changed"
  • "phase_changed"
  • "tray_assigned"
  • "file_uploaded"
  • "note_added"
  • "system"
  • "hold_requirement_changed"
  • "order_updated"
  • "item_changed"
  • "file_removed"
  • "shipment_changed"
  • "payment_changed"
  • "authorization_signed"
limit?integer
Range1 <= value <= 500
Default100

Response Body

application/json

curl -X GET "https://example.com/production/orders/string/activity"
{  "activity": [    {      "id": "string",      "orderId": "string",      "orderPhaseTaskId": "string",      "eventType": "task_fired",      "actorMemberId": "string",      "actorUserId": "string",      "phaseAtTime": "string",      "statusAtTime": "draft",      "payload": {        "property1": null,        "property2": null      },      "notes": "string",      "attachmentIds": [        "string"      ],      "createdAt": "string",      "actorName": "string",      "actorImage": "string",      "actorKind": "system"    }  ]}
Empty