Skip to main content

Duplicate exam

POST 

/exam/:id/duplicate

Duplicate an exam. This will create a new exam with the same content as the original exam. Items themselves are not duplicated.

Sample Request

POST /api/exam/fef827fb-8542-4e58-83be-fd17afacbd15/duplicate
Content-Type: application/json
Authorization: ***

{
"name": "My Exam - Duplicate",
"tags": [
{
"key": "is-a-copy",
"value": "yes",
"type": "string"
}
]
}

Sample Response

{
"exam": {
"subject": [],
"__typename": "Resource",
"content": {
"forms": [
{
"sections": [
{
"questionIds": [
"7c079621-39e0-47c4-a10b-21bbeccecce5",
"63762a3b-75ea-483b-9008-1b2b8d4ef277",
"d46543fc-c41f-4b43-8dbe-6c6fcddf6d38"
]
}
]
}
]
},
"grade": [],
"schemaVersion": "2020-01-01",
"visibility": "WORKSPACE",
"createdAt": "2025-06-06T18:26:45.610Z",
"alignmentIds": [
"05021672-7844-5e28-abd5-6a5865604c76",
"65dc935b-54e5-5aa1-969d-b43b94254fb9",
"c14a02a5-fd51-59b9-9523-010a2d48d18e"
],
"maturity": "OPERATIONAL",
"name": "testing",
"interaction": ["choice"],
"language": [],
"workspaceId": "my-workspace",
"bankId": "focus1f8-demo/user-content",
"updatedAt": "2025-06-06T18:26:45.610Z",
"sk": "exam#v0",
"questionIds": [
"7c079621-39e0-47c4-a10b-21bbeccecce5",
"63762a3b-75ea-483b-9008-1b2b8d4ef277",
"d46543fc-c41f-4b43-8dbe-6c6fcddf6d38"
],
"description": "",
"id": "32569cee-5886-4af0-bf2a-2457dd79e0db",
"creatorId": "3d0184e9-a8ed-44c7-84e6-dc99ad0d320c",
"tags": [
{
"key": "tag-1",
"type": "string",
"value": "tag-1-value1"
},
{
"key": "tag-1",
"type": "string",
"value": "tag-1-value2"
}
]
}
}

Request

Responses

OK