Skip to content

Ingest pages into the AI Search index

POST
/api/v3/organisations/{organisation}/projects/{project}/ai-search/pages
curl --request POST \
--url https://dashboard.quantcdn.io/api/v3/organisations/example/projects/example/ai-search/pages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "jobId": "example", "pages": [ { "url": "https://example.com", "title": "example", "content": "example", "contentType": "example", "fetchedAt": "example", "preProcessed": true, "summary": "example", "tags": [ "example" ], "topics": [ "example" ] } ] }'
organisation
required
string
project
required
string
Media typeapplication/json
object
jobId
string
pages
required
Array<object>
object
url
required
string format: uri
title
required
string
content
required
string
contentType
string
fetchedAt
string
preProcessed
boolean
summary
string
tags
Array<string>
topics
Array<string>
Examplegenerated
{
"jobId": "example",
"pages": [
{
"url": "https://example.com",
"title": "example",
"content": "example",
"contentType": "example",
"fetchedAt": "example",
"preProcessed": true,
"summary": "example",
"tags": [
"example"
],
"topics": [
"example"
]
}
]
}

Pages processed

Validation failed

Upstream failure