Content Generation
Get Generated Code
Authentication
K12
- Handwritten Gen Evaluation
- Handwritten Exam Evaluation
- Content Generation
- Lesson Plan Generation
- Content Generation
- MCQ Generation
- Worksheet Generation
- Assignment Evaluation
Assessment Rubrics
- Rubrics
Standardized Language Exams
- Embeddable UI
- TOEFL Evaluation
- IELTS Evaluation
Content Generation
Get Generated Code
This API endpoint retrieves the educational content generated previously using the unique content ID.
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
Headers
Specifies the format of the response.
Available options:
application/json
Path Parameters
Unique identifier of the content generation request.
Response
200
application/json
Successfully retrieved generated content.
Example:
200
Example:
"Content request: completed"
Current status of the content generation
Available options:
processing
, completed
Example:
"completed"
Example:
"unique-request-id"
Example:
"client123"
Example:
"2024-01-07T10:30:00Z"
Example:
"Understanding Photosynthesis"
Example:
"Photosynthesis is a fundamental process that..."
Example:
"Once upon a time, in a lush green forest..."
Example:
[
{
"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?"
]
}
]
}
]
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?"
]
}
]
}
]
}
}