GET
/
integrations
/
web_crawler
/
index
import Hyperspell from 'hyperspell';

const client = new Hyperspell({
  apiKey: process.env['HYPERSPELL_API_KEY'], // This is the default and can be omitted
});

async function main() {
  const response = await client.integrations.webCrawler.index({ url: 'url' });

  console.log(response.resource_id);
}

main();
{
  "source": "collections",
  "resource_id": "<string>",
  "status": "pending"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

url
string
required

Response

200
application/json
Successful Response

The response is of type object.