POST
/
{kb}
/
files
/
{fileId}
/
paragraphs
curl --request POST \
  --url https://app.docs.bynesoft.com/api/knowledge-base/{kb}/files/{fileId}/paragraphs \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "parIds": [
    "<string>"
  ]
}'
{
  "paragraphs": [
    {
      "id": "<string>",
      "content": "<string>",
      "fileName": "<string>"
    }
  ],
  "docsCount": 123,
  "nextToken": "<string>"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

kb
string | null
required
fileId
string
required

Query Parameters

take
integer
default:20
Required range: 1 <= x <= 20
startingToken
string | null

Body

application/json
parIds
string[] | null

Response

200
application/json
Successful Response
paragraphs
object[]
required
docsCount
integer
required
nextToken
string | null
required