GuideLab API

List production tasks

Returns the task library for the current lab. Filter by trigger, active flag, or free-text name search.

GET
/production/tasks

Returns the task library for the current lab. Filter by trigger, active flag, or free-text name search.

Authorization

__Secure-guidelab-prod.session_token<token>

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

In: cookie

Query Parameters

isActive?string

Value in

  • "true"
  • "false"
completionTrigger?string

Value in

  • "acknowledge"
  • "assign_tray"
  • "upload_file"
  • "change_status"
  • "decision"
  • "set_manual_file_path"
  • "surgical_report"
search?string

Response Body

application/json

curl -X GET "https://example.com/production/tasks"
{  "tasks": [    {      "id": "string",      "labId": "string",      "name": "string",      "description": "string",      "iconDefault": "string",      "colorDefault": "string",      "styleDefault": "primary",      "completionTrigger": "acknowledge",      "completionTriggerConfig": {        "type": "acknowledge"      },      "sideEffects": [        {          "type": "change_status",          "toStatus": "draft"        }      ],      "captureConfig": {        "requireNotes": false,        "requirePhoto": false,        "notesPlaceholder": "string",        "notesMaxLength": 1      },      "defaultAssigneeMemberId": "string",      "roomId": "string",      "isActive": true,      "createdAt": "string",      "updatedAt": "string"    }  ]}