AxUCPWebhookEventSource Generated TypeScript API reference. typescript api api/reference build/apidocs/Class.AxUCPWebhookEventSource.md class AxUCPWebhookEventSource

AxUCPWebhookEventSource

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/event/ucpSource.ts#L35

Application-hosted UCP webhook ingress.

The UCP client verifies signer profile, RFC 9421 signature, freshness, body digest, and replay state before this adapter publishes anything. Application identity mapping happens only after verification and remains separate from the untrusted business payload.

Implements

Constructors

Constructor

TypeScript
new AxUCPWebhookEventSource(options: Readonly<AxUCPWebhookEventSourceOptions>): AxUCPWebhookEventSource;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/event/ucpSource.ts#L40

Parameters

ParameterType
optionsReadonly<AxUCPWebhookEventSourceOptions>

Returns

AxUCPWebhookEventSource

Properties

PropertyModifierTypeDefault value
idreadonlystringundefined
requiresDurablereadonlytruetrue

Methods

ingest()

TypeScript
ingest(request: Request, signal?: AbortSignal): Promise<AxEventPublishReceipt>;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/event/ucpSource.ts#L57

Parameters

ParameterType
requestRequest
signal?AbortSignal

Returns

Promise<AxEventPublishReceipt>


start()

TypeScript
start(context: Readonly<AxEventSourceContext>): AxEventSourceHandle;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/event/ucpSource.ts#L46

Parameters

ParameterType
contextReadonly<AxEventSourceContext>

Returns

AxEventSourceHandle

Implementation of

AxEventSource.start

Docs