ghl_course_list_assessments
Retrieve assessment submissions for a specific course and location, filtered by status and paginated to review learner results.
Instructions
COURSES API — the {productId} path parameter is the course (product) id. List Assessments List assessment submissions for a course. Requires a Location token with courses.readonly. Send Version: v3. Endpoint: GET /courses/products/{productId}/assessments (Version header: v3; source: v3/courses-v3.json) Requires a Sub-Account (location) token. OAuth scopes: courses.readonly Pagination params: pageSize — pass them to page through full result sets.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productId": "<productId>",
"locationId": "<locationId>"
},
"name": "ghl_course_list_assessments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Assessment status filter | |
| pageSize | No | Page size (1-50) | |
| productId | Yes | Product id | |
| locationId | Yes | Location id or sub-account id is required. | |
| pageNumber | No | Page number (1-based) |