Skip to main content

AiInteractionInput

No description

input AiInteractionInput {
clientEventId: String!
surface: AiInteractionSurface!
capability: String!
item: String!
action: AiInteractionAction!
occurredAt: Time
}

Fields​

AiInteractionInput.clientEventId ● String! non-null scalar​

An id the client minted for this event (a UUID). Sending the same id again stores nothing, so a retried batch is safe.

AiInteractionInput.surface ● AiInteractionSurface! non-null enum​

AiInteractionInput.capability ● String! non-null scalar​

A registered capability's name (backtest, ...), or copilot for the Co-pilot's own controls.

AiInteractionInput.item ● String! non-null scalar​

What was acted on: a rule id, a step id, a template id or a control name. At most 128 bytes.

AiInteractionInput.action ● AiInteractionAction! non-null enum​

AiInteractionInput.occurredAt ● Time scalar​

When it happened. Clamped to the last 24 hours by the server's clock; now when absent.

Member Of​

recordAiInteraction mutation