Skip to content

Documentation / @agentick/shared / ChannelPublishRequest

Interface: ChannelPublishRequest

Defined in: protocol.ts:274

Request payload for publishing to a channel. Sent via POST /channel endpoint.

Properties

channel

channel: string

Defined in: protocol.ts:278

Channel name


id?

optional id: string

Defined in: protocol.ts:284

Request/response correlation ID


metadata?

optional metadata: Record<string, unknown>

Defined in: protocol.ts:286

Additional metadata


payload?

optional payload: unknown

Defined in: protocol.ts:282

Event payload


sessionId

sessionId: string

Defined in: protocol.ts:276

Target session ID


type

type: string

Defined in: protocol.ts:280

Event type within the channel

Released under the ISC License.