Prompt write endpoints
The public API now supports creating and updating prompts. Previously, the API was read-only for prompt data.New endpoints
- POST
/projects/{project_id}/prompts— create one or more prompts (up to 50 per request) - PATCH
/projects/{project_id}/prompts/{prompt_id}— update prompt content, country, topic, or type - Prompt deletion is intentionally not exposed through the public API because it is irreversible and unsafe for unattended automation.
API key scope
API keys are team-wide credentials. Confirm the targetproject_id before every write operation and keep keys in trusted server-side environments only.