content
Create new raw text content
content
Create new raw text content
Creates a new raw content item with the provided title, summary, and text in markdown format.
POST
/
content
/
raw
curl --request POST \
--url https://sdk.senso.ai/api/v1/content/raw \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"title": "<string>",
"summary": "<string>",
"text": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "raw",
"title": "<string>",
"summary": "<string>",
"version_num": 123,
"processing_status": "queued",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Authorizations
API key authorization
Body
application/json
Response
202
application/json
Raw content accepted for processing
The response is of type object
.
curl --request POST \
--url https://sdk.senso.ai/api/v1/content/raw \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"title": "<string>",
"summary": "<string>",
"text": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "raw",
"title": "<string>",
"summary": "<string>",
"version_num": 123,
"processing_status": "queued",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}