Create prompts in a workspace
Creates one prompt (prompt) or several (prompts) in the workspace and starts monitoring them, exactly like creation in the UI (including search-volume computation). Up to 5 prompts are created synchronously (201 with the created items); larger batches are processed asynchronously (202 with a processing summary). The whole batch is validated against the workspace’s remaining prompt allocation up front — nothing is created if it would exceed the limit.
Authorizations
Provide your API key as a Bearer token: Authorization: Bearer YOUR_API_KEY.
Path Parameters
Workspace identifier.
1"01HX7K2YV9D3M8N0G6Q5R4S3T2"
Body
Prompt texts to create (same country, tags and brand reports for all). Pass a single-item array to create one prompt.
11Country the prompts are monitored in. Lowercase ISO 3166-1 alpha-2; use uk for the United Kingdom. Immutable after creation.
^[a-z]{2}$Optional tag IDs to assign to every created prompt.
1Optional brand report IDs to add every created prompt to.
1Response
The created prompts.