Skip to main content
DELETE
/
api
/
v1
/
agent
/
{agent_id}
/
session
/
{session_id}
End Agent Session
curl --request DELETE \
  --url https://api.promptguard.dev/api/v1/agent/{agent_id}/session/{session_id} \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

API Key authentication for developer endpoints (/api/v1/*). Use format: 'Bearer pg_api_your_key_here'

Headers

x-api-key
string | null

Path Parameters

agent_id
string
required
session_id
string
required

Response

Successful Response

The response is of type Response End Agent Session Api V1 Agent Agent Id Session Session Id Delete · object.