GET
/
v1
/
k12
/
generate
/
worksheet
/
{request_id}
curl --request GET \
  --url https://api-staging.crazygoldfish.com/v1/k12/generate/worksheet/{request_id} \
  --header 'Authorization: <api-key>' \
  --header 'accept: <accept>'
{
  "status_code": 200,
  "message": "Worksheet request :completed",
  "status": "completed",
  "data": {
    "request_id": "unique-request-id",
    "client_id": "client123",
    "created_at": "2025-01-07T17:43:13.595406",
    "worksheet": [
      {
        "subject": "Science",
        "topic": "Photosynthesis",
        "questions": [
          {
            "question_id": 1,
            "question_type": "MCQ_single_answer",
            "question": "What is the main pigment involved in photosynthesis?",
            "options": [
              "A-Chlorophyll",
              "B-Hemoglobin",
              "C-Keratin",
              "D-Melanin"
            ],
            "tags": {
              "Difficulty_level": "easy",
              "Bloom's_Taxonomy": "Remember",
              "Competency": "Understand the role of chlorophyll in photosynthesis",
              "Curricular_Goal": "Identify the pigment responsible for photosynthesis",
              "LO": "Understand the process of photosynthesis",
              "Hints": "The pigment is green in color and is found in plant cells."
            }
          }
        ],
        "solution_sheet": [
          {
            "question_id": 1,
            "answer": "The field consists of concentric circles centred on the wire."
          }
        ],
        "topics": [
          "Photosynthesis",
          "Cell Structure"
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Headers

accept
enum<string>
default:application/json
required

Specifies the format of the response.

Available options:
application/json

Path Parameters

request_id
string
required

Unique identifier of the worksheet generation request.

Response

200
application/json
Successfully retrieved worksheet. This checks if the request with respect to the user id is processing or completed if completed it will fetch the results else it returns processing.
status_code
integer
required
Example:

200

message
string
required
Example:

"Worksheet request :completed"

status
enum<string>
required
Available options:
processing,
completed
Example:

"completed"

data
object
required