Brand Reports
Add prompts to a brand report
Changed onAdds prompts that already exist in the report workspace to the brand report, exactly like ticking the report in the UI. It does not create prompts — use POST /v1/workspaces/{id}/prompts for that. Prompt IDs already assigned to the report are returned in alreadyAssigned and left unchanged; unknown prompt IDs are rejected with a 400 naming them. The report is recalculated for the added prompts asynchronously, so their data appears with a delay. A prompt that was previously removed from this report is reprocessed for the most recent 7 days of citation history only.
post/v1/reports/brand/{reportId}/prompts
Request
- Base URLhttps://data.otterly.ai
- AuthHTTP bearer
Path parameters
reportIdstring required
Brand report identifier.
Example:01HX7K2YV9D3M8N0G6Q5R4S3T2
Request body
Example request
{
"promptIds": [
"01HXP1DRTM5G8Z2N3KQ7VAW4PA"
]
}Response
The prompts assigned to the brand report. Recalculation completes asynchronously.
Example response
{
"reportId": "01HXBR1DGM5XY8Z2N3KQ7VAW4P",
"promptIds": [
"01HXP1DRTM5G8Z2N3KQ7VAW4PA",
"01HXP2DRTM5G8Z2N3KQ7VAW4PB"
],
"added": [
"01HXP1DRTM5G8Z2N3KQ7VAW4PA"
],
"alreadyAssigned": [
"01HXP2DRTM5G8Z2N3KQ7VAW4PB"
]
}Changes
- info
endpoint added
- info