Enable AI Search for a project
POST
/api/v3/organisations/{organisation}/projects/{project}/ai-search/enable
const url = 'https://dashboard.quantcdn.io/api/v3/organisations/example/projects/example/ai-search/enable';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"baseUrl":"https://example.com","crawlerConfig":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dashboard.quantcdn.io/api/v3/organisations/example/projects/example/ai-search/enable \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "baseUrl": "https://example.com", "crawlerConfig": {} }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
project
required
string
Request Body
Section titled “Request Body”Media typeapplication/json
object
baseUrl
string format: uri
crawlerConfig
object
Examplegenerated
{ "baseUrl": "https://example.com", "crawlerConfig": {}}Responses
Section titled “Responses”Enabled
Missing base URL
Already enabled
