Skip to main content
GET
/
api
/
playground
/
sessions
/
{session_id}
/
context
Get Session Context
curl --request GET \
  --url https://api.example.com/api/playground/sessions/{session_id}/context \
  --header 'Authorization: Bearer <token>'
{
  "session_id": "<string>",
  "linked_dataset": {
    "id": "<string>",
    "numeric_id": 123,
    "name": "<string>",
    "type": "<string>",
    "status": "<string>",
    "severity": "<string>",
    "class_count": 123,
    "classes": [],
    "vulnerabilities": 123,
    "vulnerability_types": "<string>",
    "size_bytes": 123,
    "last_scan_at": "<string>"
  },
  "structure_profile": {
    "profile_id": 123,
    "profile_version": 123,
    "profile_status": "<string>",
    "suggested_target_column": "<string>",
    "suggested_protected_columns": [],
    "suggested_path_column": "<string>",
    "classes": [],
    "summary": {}
  },
  "scans": [],
  "top_findings": [],
  "active_shortcut_count": 0,
  "guidance_count": 0
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-API-Key
string | null

Path Parameters

session_id
string
required

Cookies

antidote_session
string | null

Response

Successful Response

session_id
string
required
linked_dataset
DatasetBrief · object
structure_profile
StructureProfileHints · object
scans
ScanBrief · object[]
top_findings
FindingBrief · object[]
active_shortcut_count
integer
default:0
guidance_count
integer
default:0