30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

LearnDash List Quizzes

learndash/list-quizzes searches and filters LearnDash quizzes. Pass a course_id for one course’s quizzes, or omit it for the whole library.

A quiz can be attached at course, lesson or topic level, which the listing does not distinguish.

At a glance

Abilitylearndash/list-quizzes
ToolsetLearnDash — toolset/learndash
GroupLearnDash › Lessons, Topics & Quizzes
RequiresAcrossAI Pro, plus LearnDash LMS active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

That flexibility is what makes quizzes awkward to locate. A course-filtered listing returns every quiz in the course regardless of depth, and where each one sits determines when a learner meets it.

learndash/get-course-structure is the ordered view that shows the level.

The library view includes unattached quizzes, which are the same normal intermediate state as unattached lessons and topics — and rather more consequential, because a quiz with questions and no attachment is finished work nobody can reach.

learndash/list-questions returns a quiz’s questions, which live against the linked ProQuiz record rather than the quiz post.

Input

NameTypeRequiredWhat it is
course_idintegerNoOne course’s quizzes. Omit for the whole library.
searchstringNoKeyword search.
statusstringNoPost status filter.
per_pageintegerNoRows per page.

What comes back

NameTypeWhat it is
quizzesarrayEach quiz with its ID, title, status and attachment.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

What quizzes are in this course?

It resolves to one call:

{
  "ability": "learndash/list-quizzes",
  "parameters": {
    "course_id": 412
  }
}

Worth knowing

  • Quizzes attach at course, lesson or topic level. The listing does not say which.
  • A finished quiz with no attachment is unreachable work.
  • Questions live against the ProQuiz record, not the quiz post.
  • Read-only.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading