curl --location 'https://api.dageno.ai/business/api/v1/open-api/prompts/batch/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"items": [
{
"id": "00000000-0000-4000-8000-000000000041",
"status": "inactive",
"prompt": "Updated mock prompt text",
"topicId": "00000000-0000-4000-8000-000000000021",
"regions": [
"US",
"GB"
]
}
]
}'{
"success": true,
"code": 0,
"message": "OK",
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000041",
"success": true,
"data": {
"id": "00000000-0000-4000-8000-000000000041",
"projectId": "00000000-0000-4000-8000-000000000011",
"topicId": "00000000-0000-4000-8000-000000000021",
"prompt": "What are the key features to compare for a mock student flight booking product?",
"promptHash": "mockprompthash0000000000000000000000000000001",
"regions": [
"US"
],
"language": "en-US",
"tags": [],
"category": "Mock Travel",
"funnel": "BOFU",
"intentions": [
{
"score": 88,
"intention": "Transactional"
}
],
"status": "active",
"state": "succeeded",
"sourceDomain": "mock-source.example",
"createdAt": "2026-04-01T08:00:00.000Z",
"updatedAt": "2026-04-02T08:00:00.000Z",
"topic": "Mock Travel"
}
}
],
"summary": {
"total": 1,
"succeeded": 1,
"failed": 0
}
}
}