queued state and is processed in the background. Use the returned run ID with getTextGenerationStatus to poll its status and progress until it reaches complete or failed.HotelIDs and/or TagIDs (combined and deduplicated, capped at 100), and every selected hotel must belong to the calling project. If a selected hotel already has a run in progress, the request is rejected with 409.curl --location 'https://api.ygo.ai/v2/project/content/generateText' \
--header 'X-Project-ID: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"HotelIDs": [
"0192fb17-5dc6-7abc-8def-123456789abc",
"0192fb18-6ed7-7abc-8def-223456789abc"
]
}'{
"Data": {
"ID": "0192fb50-8bb2-7abc-8def-112233445566",
"Status": "queued",
"Progress": {
"Total": 2,
"Generated": 0,
"Failed": 0,
"Skipped": 0
},
"CreatedAt": "2026-06-26T09:15:00Z",
"UpdatedAt": "2026-06-26T09:15:00Z"
}
}