Skip to main content
DELETE
/
api
/
v1
/
proxy
/
agent
/
{agent_id}
/
session
/
{session_id}
End Agent Session
curl --request DELETE \
  --url https://api.promptguard.dev/api/v1/proxy/agent/{agent_id}/session/{session_id} \
  --header 'X-API-Key: <api-key>'
{}

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

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