Queries

businessResearchAgent

Deprecated: EXPERIMENTAL: This feature can change at any time and is not meant to be used in any production environment.

Business research agent. Searches the web for a short profile of the picked business (its brand, a few facts, and whether it has other locations or several areas) and returns it as a dossier, the input to the other business agents. Takes 2-5 seconds.

Possible errors:

  • UNAUTHENTICATED: Request is missing valid Soundtrack credentials or a valid captcha token.
  • BAD_USER_INPUT: The input names no business to research.

Arguments

captcha String

reCAPTCHA response token used to authenticate the request when no Soundtrack Authorization header is sent. The token is verified with Google, so it must have been issued within the last two minutes for the storefront's site key when the platform in x-user-agent contains storefront (and not business), and for the business app's site key otherwise, including when x-user-agent is not sent. A token can be reused for the fields of one operation but should not be reused across requests. When omitted, the request must be authenticated via Soundtrack credentials (Authorization header and x-user-agent) instead.

input BusinessResearchInput!

The business the user picked.

Type

BusinessResearchAgentResult!