Keywords
Add Target Prompts
Adds up to 20 prompts to track. We start checking them across AI assistants right away.
POST
https://app.tryredrover.com/api/public/v1/target-promptsScope:
keywords:writeAI Connector Tool: redrover_add_target_promptsPrompts the workspace already tracks are skipped and counted in duplicates. First results show up in List Target Prompts once the checks finish.
Headers
AuthorizationstringRequiredBearerfollowed by anrr_live_API key or a connected app's access token. See Authentication.X-Workspace-IdstringRequiredThe workspace to act on, from List Workspaces.
UUID
Body
promptsstring[]Required1 to 20 prompts, each 3 to 500 characters
1 to 20 items
Response
201 What was saved.
dataobjectRequiredShow 3 Child FieldsHide Child Fields
addedintegerRequiredPrompts saved
duplicatesintegerRequiredPrompts left out because the workspace already tracks them
promptIdsstring[]RequiredIDs of the prompts saved
Errors
Every error uses the error envelope.
400prompts is empty, too long, or holds more than allowed401The Authorization header is missing, or the key is invalid or revoked403The key lacks the endpoint's scope, or cannot reach the workspace429More than 120 requests in a minute. Wait for Retry-After seconds500Something went wrong on our side
curl -X POST "https://app.tryredrover.com/api/public/v1/target-prompts" \
-H "Authorization: Bearer $REDROVER_API_KEY" \
-H "X-Workspace-Id: $REDROVER_WORKSPACE_ID" \
-H "Content-Type: application/json" \
-d '{
"prompts": [
"What is the best product analytics tool for a small SaaS?",
"How do I measure feature adoption?"
]
}'{
"data": {
"added": 1,
"duplicates": 1,
"promptIds": [
"5d2c8e41-9a7b-4f3e-8c6d-1b0a2e4f6c8d"
]
}
}