From the API
status=published. A draft cannot be played, and returns ASSESSMENT_NOT_FOUND when the player tries to load it.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Where to get an assessment ID.
curl -H "Authorization: Bearer $EDPIRE_API_KEY" \
"https://edpire.com/api/v1/assessments?status=published&limit=10"
{
"data": [
{ "id": "72aff028-8133-46b5-8330-ed2938a2344b", "title": "Ma première évaluation", "status": "published" }
],
"meta": { "total": 68, "page": 1, "limit": 10 }
}
status=published. A draft cannot be played, and returns ASSESSMENT_NOT_FOUND when the player tries to load it.
https://edpire.com/teacher/assessments/72aff028-8133-46b5-8330-ed2938a2344b
└────────────── the ID ─────────────┘
Published assessments (showing up to 5):
72aff028-8133-46b5-8330-ed2938a2344b Ma première évaluation
8bc07441-a4b1-4f06-88b3-9d7ccc7426e2 Test to fix AI issue
const { items } = await client.getAssessments({ status: "published" })
// render items by title; store the chosen item.id on your lesson row