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

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}

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

I