Type Alias: SessionAction
Properties
| Property | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Action ID (unique within the plugin) (example: "generate-minutes") |
label | string | Yes | Human-readable action label (example: "Generate Minutes") |
icon | string | No | Heroicons icon name (example: "heroicons_outline:document-text") |
endpointPath | string | Yes | Endpoint path on the plugin, relative to the plugin slug (example: "minutes") |
method | string | Yes | HTTP method to invoke the action with (example: "POST") |
type | string | Yes | How the result is handled by the client (example: "download") |
Defined in
4Players/cortex-typescript-sdk/src/resources/sessions.ts:27