Skip to main content
POST
/
sources
/
{sourceId}
/
chunks
Create a new chunk
curl --request POST \
  --url https://messenger-public-api.cogfy.com/sources/{sourceId}/chunks \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "data": [
    {
      "sourceType": "<string>",
      "content": "<string>"
    }
  ]
}'
[
  "<string>"
]

Authorizations

api-key
string
header
required

Path Parameters

sourceId
string<uuid>
required

Body

application/json
data
object[]

Response

201 - application/json