Skip to main content

Type Alias: SessionAction

type SessionAction: components["schemas"]["SessionAction"];

Properties

PropertyTypeRequiredDescription
idstringYesAction ID (unique within the plugin) (example: "generate-minutes")
labelstringYesHuman-readable action label (example: "Generate Minutes")
iconstringNoHeroicons icon name (example: "heroicons_outline:document-text")
endpointPathstringYesEndpoint path on the plugin, relative to the plugin slug (example: "minutes")
methodstringYesHTTP method to invoke the action with (example: "POST")
typestringYesHow the result is handled by the client (example: "download")

Defined in

4Players/cortex-typescript-sdk/src/resources/sessions.ts:27