1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. AgentBackendEventContextCompressionEvent

AgentBackendEventContextCompressionEvent

    An event sent from the agent backend to the client during an agent task execution.

    Properties

    • message string optional
      Optional short human-readable message
    • status enum required
      Status of the compression process
      Values: compressing, compressed, failed, skipped
    • context_summary string optional
      Optional context summary generated by the LLM on successful compression
    • tail_length integer optional
      Optional length of the tail preserved after compression
    • timestamp string required
      When the event occurred.
    • type string required