Skip to end of metadata
Go to start of metadata
Icon

This is preliminary documentation for the Coveo Cloud V2 Indexing Pipeline Extension feature which is currently available in beta version.

The following procedure describes how to create an indexing pipeline extension for a Coveo Cloud V2 organization using the Extension API (see Extension API Reference).Indexing pipeline Extension privilege

  1. In the administration console API Keys page, add an API key for which you select the Edit check box for the Extensions privilege (see Add an API key).
  2. Create an extension for your organization.
    1. Use the following API call:

      where you replace <organizationId> with its corresponding value (see Parameters and API Calls).

    2. Your call must include the following HTTP headers:

      KeyValue
      AuthorizationBearer <a_valid_API_key>
      Content-Typeapplication/json
    3. The body is a JSON Extension (see JSON Extension).

      Example:

      Enter a JSON in a format similar to the following example to add a metadata.

      where the content value is the body of your extension (user script), written in Python using the document object (see Document Object Python API Reference).

      You must name and describe your extension.

      Icon

      Choose a meaningful name (such as the name of the task that you want to perform) to identify your extension.

    4. Send your request.
      It returns something like this:

      Example

      where the id value is your unique extension identifier (extensionId).

  3. In the administration console Activity Browser page, validate that your extension has succeeded (see Activity Browser - Page).

    1. In the Sections facet, select Content
    2. In the Resource Types facet that is now available, select Extension.
    3. In the Resources facet, select your extension ID.
    4. In the Result column, validate that your operation is Successful

    5. Click an extension activity to see additional information on your extension.

What's Next

Apply your extension to a source (see Applying an Indexing Pipeline Extension to a Source with the API).

  • No labels