Skip to main content
POST
/
api
/
playground
/
sessions
/
{session_id}
/
hypotheses
Save Hypotheses
curl --request POST \
  --url https://api.example.com/api/playground/sessions/{session_id}/hypotheses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "hypotheses": [
    {
      "protected_column": "<string>",
      "target_column": "<string>",
      "target_class": "<string>",
      "association": 123,
      "note": "<string>"
    }
  ]
}
'
{
  "session_id": "<string>",
  "saved": 123,
  "hypothesis_ids": [
    "<string>"
  ]
}

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

Body

application/json
hypotheses
HypothesisDraft · object[]
required
Required array length: 1 - 100 elements

Response

Successful Response

session_id
string
required
saved
integer
required
hypothesis_ids
string[]
required