Skip to main content
PATCH
/
ai-overviews
/
prompts
Bulk update prompt statuses
curl --request PATCH \
  --url https://api.beeze.io/v1/ai-overviews/prompts \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "status": "active"
}
'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "promptText": "<string>",
      "project": "<string>",
      "status": "active",
      "tags": [
        "<string>"
      ],
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "location": "<string>",
      "metrics": {
        "visibility": 123,
        "position": 123,
        "volume": 123,
        "sentiment": 123,
        "sentimentLabel": "positive"
      }
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key for external Beeze API access

Body

application/json
ids
string<uuid>[]
required
Required array length: 1 - 100 elements
status
enum<string>
required
Available options:
active,
inactive

Response

Prompt statuses updated

data
object[]
required