Queries
playlistPromptAgent
Deprecated: EXPERIMENTAL: This feature can change at any time and is not meant to be used in any production environment.
Playlist prompt agent. Single-call variant with web search and capped thinking; researches the business and writes a custom two-paragraph prompt for Soundtrack's AI playlist generator, plus a heading describing the business and a display title and description for the playlist.
Possible errors:
UNAUTHENTICATED: Request is missing valid Soundtrack credentials or a valid captcha token.
Arguments
captchaStringreCAPTCHA response token used to authenticate the request when no Soundtrack
Authorizationheader 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 theplatforminx-user-agentcontainsstorefront(and notbusiness), and for the business app's site key otherwise, including whenx-user-agentis 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 (Authorizationheader andx-user-agent) instead.inputAgentInput!languageStringBCP 47 language tag for the returned copy, e.g. 'sv-SE'. Defaults to English. Values that are not a valid tag are ignored.