cURL
curl --request GET \ --url https://www.citedy.com/api/agent/lead-magnets/{id}/wait \ --header 'Authorization: Bearer <token>'
{ "error": "<string>", "message": "<string>" }
Hangs open up to 25s polling for generation completion. Call immediately after POST /lead-magnets. Returns full result when ready, progress on timeout, or error on failure.
Bearer citedy_agent_* key
Lead magnet run ID from POST response
Max wait seconds (clamped 1-25)
1 <= x <= 25
Lead magnet result, progress, or failure