GuideLab API

Fire a task (runs trigger + side effects, logs activity)

Single entry point for completing an immutable order phase task snapshot.

POST
/production/tasks/{orderPhaseTaskId}/fire

Single entry point for completing an immutable order phase task snapshot.

Authorization

__Secure-guidelab-prod.session_token<token>

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

In: cookie

Path Parameters

orderPhaseTaskId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/production/tasks/string/fire" \  -H "Content-Type: application/json" \  -d '{    "orderId": "string",    "orderPhaseId": "string"  }'
{  "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"  }}
Empty
Empty
Empty