cURL
curl --request PATCH \ --url https://api.tryprofound.com/v1/org/categories/{category_id}/prompts/status \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "prompt_ids": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ], "status": "active", "dry_run": false } '
{ "dry_run": true, "updated_prompts": 0 }
Bulk-update the status of one or more prompts. Prompts already in the target status are skipped. Use dry_run to preview without persisting.
Status options:
IDs of the prompts to update.
Target status: 'active', 'disabled', or 'deleted'.
active
disabled
deleted
When true, validate and preview changes without persisting them.
Successful Response
Response from updating prompt statuses.
Whether this was a dry run (no changes persisted).
Number of prompts whose status was changed.
Was this page helpful?