Knowledge to draft
Experimental endpoints are not yet finalised. They can change at any point, without notice. To reflect this, these endpoints are not available on the /v1/
endpoint (See more here: Endpoints)
Generates and creates a draft using structured textual data.
Authorizations
Body
templateIdstring | nullableOptional
The ID of the template to use. If not provided, the system will randomly select one.
Responses
200
Draft generated and created successfully
application/json
400
Bad Request. Invalid input data.
401
Unauthorized. Authentication required.
500
Internal server error.
post
POST /api/knowledge-to-draft/generate-draft HTTP/1.1
Host: app.colossyan.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 136
{
"summary": {
"title": "text",
"description": "text",
"chapters": [
{
"title": "text",
"script": "text",
"searchTerms": "text"
}
]
},
"templateId": "text"
}
{
"url": "text"
}
Last updated
Was this helpful?