OCI Generative AI Agent icon

OCI Generative AI Agent

Interact with OCI Generative AI Agent Runtime

Delete session

AI-generated

Summary

Delete a session for the OCI Generative AI Agent endpoint.

Inputs

  • agentEndpointId (required) — The OCID of the Generative AI Agent Endpoint to use
  • sessionId — The ID of the session to delete

Output shape

object

Returned per execution as an array item with json containing { ok: true, operation: 'deleteSession', agentEndpointId, sessionId, meta: resp }.

Examples

Example 1: Successful deletion

Agent Endpoint OCID set, Session ID provided, credential ociApi selected.

Links

Discussion