Skip to main content
POST
/
v2
/
kb
/
crawl-jobs
/
files
Create Crawl Job from Files
curl --request POST \
  --url http://localhost:3000/api/v2/kb/crawl-jobs/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "files": [
    {
      "base64": "<string>",
      "name": "<string>",
      "type": "<string>"
    }
  ],
  "studioId": "<string>",
  "workspaceId": "<string>",
  "matches": [
    "<string>"
  ],
  "notMatches": [
    "<string>"
  ],
  "isParent": true,
  "maxPages": 123
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
files
object[]
required
studioId
string
required
workspaceId
string
required
matches
string[]
required
notMatches
string[]
required
isParent
boolean
required
maxPages
number
required

Response

Crawl job created successfully

I