POST - Generate Worksheet Explanations
Initiates the worksheet explanation generation process for a given worksheet.
This step generates detailed explanations for each question in the worksheet after question generation is completed.
Prerequisites:
- The worksheet must exist.
- The question generation step (
QUESTION_GENERATION) must be completed. - The explanation generation must not already be in progress or completed.
How to Use:
- Call
POST /worksheet/v1/generate-explanations/{work_sheet_id}with a valid worksheet ID. - The API validates that:
- The worksheet exists.
- Question generation is completed.
- Explanation generation has not already started or completed.
- If validation passes, the explanation generation job is queued asynchronously.
- You receive a confirmation message with the worksheet ID.
Path Parameters:
work_sheet_id(UUID, required): The unique ID of the worksheet.
Response Codes:
200 OK: Explanation generation initiated successfully.400 Bad Request: Question generation not completed yet, or explanation generation already in progress/completed.404 Not Found: Worksheet not found.
POST
Generate Worksheet Explanations
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique identifier of the worksheet
Response
Worksheet explanation generation initiated successfully.
Generate Worksheet Explanations