English Composition Tutoring
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
aicontent:ExecuteAITeacherEnglishCompositionTutoringWorkflowRun |
create |
*All Resource
|
None | None |
Request syntax
POST /pop/api/v1/intelligentAgent/englishCompositionTutoring/workflowRun HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| essayOutline |
string |
No |
The essay outline. |
Title: The Importance of Reading I. Introduction II. Body III. Conclusion |
| essayRequirements |
string |
Yes |
The essay requirements. |
No less than 100 words |
| essayTopic |
string |
Yes |
The essay topic. |
Discuss what to eat |
| essayType |
string |
Yes |
The essay type. Valid values:
essay: essay |
essay |
| essayWordCount |
integer |
No |
The required word count. |
100 |
| grade |
integer |
Yes |
The student's grade level. |
3 |
| responseMode |
string |
Yes |
The response mode. For example, set this value to |
streaming |
| userId |
string |
Yes |
The user ID. |
xxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| requestId |
string |
The unique ID of the request. |
xxxx-xxxx-xxxx-xxxxxxxx |
| event |
string |
The event type. |
message |
| content |
string |
The content of the event. |
hi |
Examples
Success response
JSON format
{
"requestId": "xxxx-xxxx-xxxx-xxxxxxxx",
"event": "message",
"content": "hi"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.