GET
Retrieve the results of a previously submitted content check request. Use this endpoint to look up policy check results using either your own tracking identifier or the system-generated ID.
Query Parameters
*Exactly one of internal_session_id or external_session_id is required.
Example Requests
Using your external session ID:
cURL
curl -X GET "https://eu.whitecircle.com/api/session/get_by_id?deployment_id=your-deployment-id&external_session_id=user-session-123" \
-H "Authorization: Bearer wc-your-api-key" \
-H "whitecircle-version: 2025-12-01"Using the internal session ID:
cURL
curl -X GET "https://eu.whitecircle.com/api/session/get_by_id?deployment_id=your-deployment-id&internal_session_id=123e4567-e89b-12d3-a456-426614174000" \
-H "Authorization: Bearer wc-your-api-key" \
-H "whitecircle-version: 2025-12-01"Response
The endpoint returns a list of check results matching the provided session identifier. Each result includes:
flagged— Whether any policy violations were detectedinternal_session_id— The system-generated UUID for the sessionexternal_session_id— Your custom tracking ID (if provided during check)policies— A map of policy IDs to their status, including whether each policy was violated
Authorizations
Headers
Query Parameters
Response
application/json
Success
Bad Request