API ReferenceMessage Action Trace
messageActionTrace.create
Type: Mutation · Auth: Workspace-aware
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| messageId | string | Yes | — | ID of the associated message |
| actorType | string | Yes | — | Actor type |
| actionType | string | Yes | — | Action type |
| actionPayloadJson | object | No | — | Action payload json |
| resultPayloadJson | object | No | — | Result payload json |
| approvalState | string | No | — | Approval state |
| aiModelId | string | No | — | ID of the associated ai model |
Example
{
"messageId": "550e8400-e29b-41d4-a716-446655440000",
"actorType": "example",
"actionType": "example",
"actionPayloadJson": null,
"resultPayloadJson": null,
"approvalState": "example"
}