Remove prompts from a brand report
Changed onUnassigns prompts from the brand report and recalculates it without them (asynchronously). The prompt IDs travel in a JSON request body, which some HTTP clients drop on DELETE — send it explicitly. The prompts themselves are not deleted and stay in the workspace — use DELETE /v1/workspaces/{id}/prompts/{promptId} for that. Prompt IDs that are not assigned to the report are returned in notAssigned and left unchanged; unknown prompt IDs are rejected with a 400 naming them. This discards the citation data collected for those prompts in this report: re-adding one later reprocesses only the most recent 7 days of its citation history, so a remove-then-re-add round trip is not reversible.
Request
- Base URLhttps://data.otterly.ai
- AuthHTTP bearer
Path parameters
Brand report identifier.
Request body
Example request
{
"promptIds": [
"01HXP1DRTM5G8Z2N3KQ7VAW4PA"
]
}Response
The prompts unassigned from the brand report. Recalculation completes asynchronously.
Example response
{
"reportId": "01HXBR1DGM5XY8Z2N3KQ7VAW4P",
"promptIds": [
"01HXP1DRTM5G8Z2N3KQ7VAW4PA",
"01HXP2DRTM5G8Z2N3KQ7VAW4PB"
],
"removed": [
"01HXP1DRTM5G8Z2N3KQ7VAW4PA"
],
"notAssigned": [
"01HXP2DRTM5G8Z2N3KQ7VAW4PB"
]
}Changes
- info
endpoint added
- info