AEO Prompts

Add prompts

Adds one or more prompts to track in one country, and returns their IDs in request order. If any prompt fails, the prompts already added by the call are removed.

  • country_code defaults to the project's primary market. It must be the primary market or one of the project's additional countries; this endpoint can't add a new country.
  • The plan's prompt limit applies per country.
  • Prompt texts must be unique within the country, ignoring case and whitespace, including against each other in the same request. The check runs before anything is added, so retrying after a timeout is safe.

Each new prompt adds to the cost of every scheduled and manual run (prompts × AI models).

post/api/sites/multiscreen/{site_name}/aeo/prompts

Request

  • Base URL
    https://api.duda.co
  • URL
    https://api.duda.co/api/sites/multiscreen/{site_name}/aeo/prompts
  • Auth
    HTTP basic

Path parameters

site_namestring required

The site's unique name (its ID), returned when the site is created.

Request body

country_codestring

Country for the new prompts, as an ISO 3166-1 alpha-2 code. Case-insensitive. Must be the primary market or one of the project's additional countries. Defaults to the primary market.

Example request

{
  "country_code": "US",
  "prompts": [
    {
      "text": "best crm for small law firms"
    }
  ]
}

Response

Created

Changes

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