Skip to main content
  1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. AgentUserEvent

AgentUserEvent

    Represents an agent user event.

    Properties

    • entity_diff AgentEntityDiff optional
      Entities to add or remove from the agent.
    • add array[AgentEntity] optional
      Entities to add to the Agent’s context. Entities must be valid, and will be automatically deleted if they are invalid.
    • remove array[AgentEntity] optional
      Entities to remove from the Agent’s context.
    • pageContext PageContext optional
      Optional Pulumi Cloud page the user has the Neo pane open on at the moment they sent this event. Persisted with the event so cold-start replay can reproduce per-turn page context exactly. Omitted by clients with no concept of a current page (CLI, scheduled tasks, Slack, GitHub triggers, API consumers).
    • kind string optional
      Optional stable label declared by the route, used by the agent to phrase the user’s location in its system prompt or branch on well-known pages. Examples: ‘stack-update’, ’environment’, ’neo-task’. Routes without a declared kind leave this null; the agent falls back to the path and params.
    • path string optional
      Raw URL path of the page the user is viewing (e.g. ‘/myorg/myapp/prod/updates/47’). Always populated.
    • params map[string]string optional
      Route path parameters extracted from the matched Angular route, keyed by parameter name (e.g. {‘organization’: ‘myorg’, ‘project’: ‘myapp’, ‘stack’: ‘prod’, ‘version’: ‘47’}). Empty for routes with no path parameters.
    • timestamp string required
      When the event occurred.
    • type string required