Skip to main content

Create

POST 

/web-page-imports

Create a Web Page Import

Request

Body

required

    embedding

    object

    A request to generate the embeddings.

    model string

    Default value: nomic-ai/nomic-embed-text-v1

    The model used to generate the embeddings.

    properties string[]

    The list of properties to use to generate the embeddings.

    id string

    The Web Page id (or iri) in Graph when available.

    id_generator string

    Possible values: [default, headline-with-url-hash]

    Default value: default

    The entity id generator, by default uses the web page path.

    output_types string[]

    Default value: http://schema.org/WebPage

    The type of the generated entities, by default http://schema.org/WebPage.

    url stringrequired

    The Web Page url to import

    write_strategy string

    Default value: createOrUpdateModel

    The strategy used to write to the Graph: createOrUpdateModel (default) will replace existing entities; patchReplaceModel will replace the type, headline, abstract and text properties.

Responses

Success

Schema

    id stringrequired

    The id/iri of the web page in the Graph.

    model stringrequired

    web_page

    object

    required

    The Web Page data

    abstract string
    date_published date
    headline string
    html string
    image string
    markdown string
    text string
    types string[]
    url string