Agent Platform API (aiplatform:v1beta1)

2026-08-08

1 new method

Additions

    Methods
  • aiplatform.projects.locations.reasoningEngines.sessions.compact

      HTTP Method : POST

      Path : v1beta1/{+name}:compact

      Parameters :

        name

          Location : path

          Pattern : ^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sessions/[^/]+$

          Required : Yes

          Type : string

          Description : Required. The resource name of the session to compact. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}`

      Parameter Order : name

      Flat Path : v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}:compact

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Compacts the event history of a given Session, which may run an LLM summarization call and rewrite the full event history. Compaction is a storage-side rewrite that can apply a stackable pipeline of rules (event-horizon preservation, tool-response truncation, thought stripping, and LLM summarization etc.)