from scale_gp_beta import SGPClient
client = SGPClient(
api_key="My API Key",
)
question = client.questions.retrieve(
"question_id",
)
print(question)
{
"id": "id",
"configuration": {
"choices": [
"string"
]
},
"created_at": "2019-12-27T18:11:19.117Z",
"created_by": {
"id": "id",
"type": "user",
"object": "identity"
},
"name": "name",
"prompt": "prompt",
"object": "question",
"question_type": "categorical"
}