Is `api_result` always a non-empty string? Can it be `null` or `undefined` sometimes?