Skip to main content
GET
/
api
/
v1
/
usage-analyst
/
test-questions
Get test results with full question data for user or group
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://studyfetchapi.com/api/v1/usage-analyst/test-questions', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));

Authorizations

x-api-key
string
header
required

API Key for authentication

Query Parameters

userId
string

User ID to get test results for

groupIds
string[]

Array of group IDs to filter

Example:
["class-101", "class-102"]

Response

200

Test results with questions retrieved successfully