Skip to main content
DELETE
End Agent Session

Authorizations

X-API-Key
string
header
required

PromptGuard API key for developer endpoints. Keys start with pg_live_ and are created in the dashboard.

Headers

x-api-key
string | null

Path Parameters

agent_id
string
required
session_id
string
required

Response

Successful Response

status
string
required
Allowed value: "session_ended"
agent_id
string
required
session_id
string
required
deprecated
boolean
required