GET
/
v1
/
k12
/
generate
/
content
/
{request_id}
curl --request GET \
  --url https://api-staging.crazygoldfish.com/v1/k12/generate/content/{request_id} \
  --header 'Authorization: <api-key>' \
  --header 'accept: <accept>'
{
  "status_code": 200,
  "message": "Content request: completed",
  "status": "completed",
  "data": {
    "request_id": "unique-request-id",
    "client_id": "client123",
    "created_at": "2024-01-07T10:30:00Z",
    "generated_content": [
      {
        "title": "Understanding Photosynthesis",
        "Notes": "Photosynthesis is a fundamental process that occurs in plants...",
        "Stories": "Once upon a time, in a lush green forest...",
        "activities": [
          {
            "Topic": "Photosynthesis Experiment",
            "Description": "Students will perform an experiment to observe..."
          },
          {
            "Topic": "Chlorophyll Rubbing",
            "Description": "Students will collect different leaves and use a coin..."
          }
        ],
        "group_discussion": [
          {
            "Topic": "The Importance of Photosynthesis",
            "Guiding_Questions": [
              "Why is photosynthesis considered the foundation of life on Earth?",
              "How does photosynthesis impact the global carbon cycle?"
            ]
          },
          {
            "Topic": "Photosynthesis and Climate Change",
            "Guiding_Questions": [
              "How does photosynthesis help mitigate climate change?",
              "What role do forests play in the carbon cycle?"
            ]
          }
        ]
      }
    ]
  }
}

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 content generation request.

Response

200
application/json
Successfully retrieved generated content.
status_code
integer
Example:

200

message
string
Example:

"Content request: completed"

status
enum<string>

Current status of the content generation

Available options:
processing,
completed
Example:

"completed"

data
object