BetaResponseCompactionItem { id, encrypted_content, type, 2 more }

A compaction item generated by the v1/responses/compact API.

id: string

The unique ID of the compaction item.

encrypted_content: string

The encrypted content that was produced by compaction.

type: "compaction"

The type of the item. Always compaction.

agent?: Agent { agent_name }

The agent that produced this item.

agent_name: string

The canonical name of the agent that produced this item.

created_by?: string

The identifier of the actor that created the item.