Spark

Ask Spark a question about your content, optionally grounded in a web page

Requires the content.read scope.

post/spark/ask

Request

  • Base URL: https://developer.solofire.com/v1
  • URL: https://developer.solofire.com/v1/spark/ask
  • Auth: HTTP bearer

Request body

questionstring required

The question, in plain language. Up to 4000 characters.

configuration_idstring

Answer from this configuration only, applying its Spark rules. The configuration must have AI chat enabled. Omit to search everything the credential can read.

pageobject

A web page to ground the answer in, as {url, title, text}. Text beyond 20,000 characters is truncated. Use it when the question is about the page the user is looking at.

Response

Created

object required

Changes

No recorded changes to this operation across all 1 revision of this API.